Admin teams section added

This commit is contained in:
Andrey Kumanyaev 2013-01-19 21:11:11 +04:00 committed by Dmitriy Zaporozhets
parent 8a86fe7bb0
commit 82499a4cbf
10 changed files with 603 additions and 0 deletions

View file

@ -69,6 +69,14 @@ Gitlab::Application.routes.draw do
put :team_update
end
end
resources :teams do #, constraints: { id: /[^\/]+/ } do end
member do
post :delegate_projects
delete :relegate_project
post :add_members
delete :remove_member
end
end
resources :team_members, only: [:edit, :update, :destroy]
resources :hooks, only: [:index, :create, :destroy] do
get :test