diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-10 16:37:02 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 12:08:11 +0200 |
commit | e50556fcc8d81dae5978bcb3e1dd5104789aab0f (patch) | |
tree | 000c94f5da8061efa360c0e580e77261de84e8b1 /config | |
parent | 8949af0c9f2aa90b979043a0a6ee264ac0c036b9 (diff) | |
download | gitlab-ce-e50556fcc8d81dae5978bcb3e1dd5104789aab0f.tar.gz |
Let invites be declined.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
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 |