summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-25 21:20:15 +0400
committerAndrey Kumanyaev <me@zzet.org>2013-01-25 21:20:15 +0400
commit6efda51cc5caad07b6a01d293daf913eec01901f (patch)
tree49affd28c1320345630bd4303956968f8f27e197 /config/routes.rb
parent5ee8c132a540973c6726bfb99b2050dccc390449 (diff)
downloadgitlab-ce-6efda51cc5caad07b6a01d293daf913eec01901f.tar.gz
fix edit project members access link and page fixes refs #2745
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 d67f0a47a00..4a66e9f11bf 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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