summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-20 15:25:16 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-24 22:31:24 +0200
commit9804b7df68a0ba4a1b144bc652351ad77a38fc3f (patch)
tree788c521aa4192dc95af8c063f33f3edd90174131 /config
parent9d318db48f4d76b8493aefa80e7b29c2ea3cc1cf (diff)
downloadgitlab-ce-9804b7df68a0ba4a1b144bc652351ad77a38fc3f.tar.gz
Move admin team members management to own controller
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 69ad2e68642..b15431e3455 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -77,6 +77,9 @@ Gitlab::Application.routes.draw do
post :add_members
delete :remove_member
end
+ scope module: :teams do
+ resources :members, only: [:edit, :update, :destroy, :new, :create]
+ end
end
resources :team_members, only: [:edit, :update, :destroy]
resources :hooks, only: [:index, :create, :destroy] do