Fixed admin area. Create project only from one place
This commit is contained in:
parent
2b683b0d0b
commit
552b3105fb
9 changed files with 42 additions and 101 deletions
|
@ -49,7 +49,7 @@ Gitlab::Application.routes.draw do
|
|||
delete :remove_project
|
||||
end
|
||||
end
|
||||
resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do
|
||||
resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }, except: [:new, :create] do
|
||||
member do
|
||||
get :team
|
||||
put :team_update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue