diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 07:11:09 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 07:11:09 +0300 |
commit | 2b683b0d0bf90c84b33ec4ed5c70e3bc787094e2 (patch) | |
tree | 041bad694cd0013d52d64e5fd89e32f962b35952 /config/routes.rb | |
parent | 96105e214f0517d38a4dd1b2140993e03caa1e66 (diff) | |
download | gitlab-ce-2b683b0d0bf90c84b33ec4ed5c70e3bc787094e2.tar.gz |
Ability to create project with namespace
Diffstat (limited to 'config/routes.rb')
-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 42de89dd1df..192f48828b2 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: /[^\/]+/ } do + resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do member do get :team put :team_update |