diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-26 12:08:34 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-26 12:08:34 +0200 |
commit | 0125b74b3cbdb7df3b029cd2373b96ca3905c16a (patch) | |
tree | 2cc7b6f85e90d02eaebb079c962077f4b20dce7d /config/routes.rb | |
parent | 71e89df5e061e4c3a372977e7e6fb25f42791414 (diff) | |
download | gitlab-ce-0125b74b3cbdb7df3b029cd2373b96ca3905c16a.tar.gz |
Fix application crashes after #2772
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 4a66e9f11bf..5ae4c8087c7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -49,7 +49,7 @@ Gitlab::Application.routes.draw do # Admin Area # namespace :admin do - resources :users do + resources :users, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do member do put :team_update put :block |