Move admin team members management to own controller

This commit is contained in:
Andrey Kumanyaev 2013-01-20 15:25:16 +04:00 committed by Dmitriy Zaporozhets
parent 9d318db48f
commit 9804b7df68
9 changed files with 173 additions and 23 deletions

View file

@ -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