summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-10 16:37:02 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-14 12:08:11 +0200
commite50556fcc8d81dae5978bcb3e1dd5104789aab0f (patch)
tree000c94f5da8061efa360c0e580e77261de84e8b1 /config
parent8949af0c9f2aa90b979043a0a6ee264ac0c036b9 (diff)
downloadgitlab-ce-e50556fcc8d81dae5978bcb3e1dd5104789aab0f.tar.gz
Let invites be declined.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 50d11fde57d..d90268c2180 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -60,6 +60,7 @@ Gitlab::Application.routes.draw do
resources :invites, only: [:show], constraints: { id: /[A-Za-z0-9_-]+/ } do
member do
post :accept
+ match :decline, via: [:get, :post]
end
end