diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 07:31:09 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 07:31:09 +0300 |
commit | 552b3105fba11493d25575ee9220631a816141f6 (patch) | |
tree | 6b15a865db2e90bab9a71221be51a4d8ead4fedb /config | |
parent | 2b683b0d0bf90c84b33ec4ed5c70e3bc787094e2 (diff) | |
download | gitlab-ce-552b3105fba11493d25575ee9220631a816141f6.tar.gz |
Fixed admin area. Create project only from one place
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 192f48828b2..a7006ec0913 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |