fix edit project members access link and page fixes refs #2745

This commit is contained in:
Andrey Kumanyaev 2013-01-25 21:20:15 +04:00
parent 5ee8c132a5
commit 6efda51cc5
4 changed files with 5 additions and 5 deletions

View file

@ -84,7 +84,7 @@ Gitlab::Application.routes.draw do
get :team
put :team_update
end
scope module: :projects, constraints: { id: /[^\/]+/ } do
scope module: :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do
resources :members, only: [:edit, :update, :destroy]
end
end