Ability to create project with namespace

This commit is contained in:
Dmitriy Zaporozhets 2012-11-23 07:11:09 +03:00
parent 96105e214f
commit 2b683b0d0b
10 changed files with 62 additions and 6 deletions

View file

@ -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