diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-10 15:22:31 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 12:07:33 +0200 |
commit | 39f389ae0fff5706b73b03c8fb5fc4e3dd7da638 (patch) | |
tree | 405b1daea83883b1fc416ca21749da4282576117 /config | |
parent | 90dafe31c4b1bb54bcd0476a873c4f5cdb62e981 (diff) | |
download | gitlab-ce-39f389ae0fff5706b73b03c8fb5fc4e3dd7da638.tar.gz |
Add invites controller.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index de21f418329..bd2a791f94a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -53,6 +53,15 @@ Gitlab::Application.routes.draw do end get '/s/:username' => 'snippets#user_index', as: :user_snippets, constraints: { username: /.*/ } + # + # Invites + # + + resources :invites, only: [:show], constraints: { id: /[A-Za-z0-9_-]+/ } do + member do + post :accept + end + end # # Import |