summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 07:11:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 07:11:09 +0300
commit2b683b0d0bf90c84b33ec4ed5c70e3bc787094e2 (patch)
tree041bad694cd0013d52d64e5fd89e32f962b35952 /config/routes.rb
parent96105e214f0517d38a4dd1b2140993e03caa1e66 (diff)
downloadgitlab-ce-2b683b0d0bf90c84b33ec4ed5c70e3bc787094e2.tar.gz
Ability to create project with namespace
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
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