assign team to project from project page in public section

This commit is contained in:
Andrey Kumanyaev 2013-01-23 18:14:20 +04:00 committed by Dmitriy Zaporozhets
parent 18bd1c9d30
commit 31d84d71d3
12 changed files with 129 additions and 3 deletions

View file

@ -269,6 +269,18 @@ Gitlab::Application.routes.draw do
end
end
scope module: :projects do
resources :teams, only: [] do
collection do
get :avaliable
post :assign
end
member do
delete :resign
end
end
end
resources :notes, only: [:index, :create, :destroy] do
collection do
post :preview