Add teams into Public sections

This commit is contained in:
Andrey Kumanyaev 2013-01-19 21:32:09 +04:00 committed by Dmitriy Zaporozhets
parent 82499a4cbf
commit 695becc4cb
14 changed files with 706 additions and 0 deletions

View file

@ -130,6 +130,20 @@ Gitlab::Application.routes.draw do
end
end
resources :teams do
member do
get :issues
get :merge_requests
get :search
post :delegate_projects
delete :relegate_project
put :update_access
end
collection do
get :search
end
end
resources :projects, constraints: { id: /[^\/]+/ }, only: [:new, :create]
devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations }