diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-22 21:45:13 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-22 21:45:13 +0400 |
commit | 96d97c4857cd2497108c8e5740ac8134cd439546 (patch) | |
tree | f8a3ab0b20ee989948b49646fce52df9b844a01f /config | |
parent | 70690e1971f6d009da9a37782764ae7446f69636 (diff) |
Fix routing. Finalize user show page
Diffstat (limited to 'config')
-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 c48d66a78e8..c7e81b6fe5a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -97,7 +97,7 @@ Gitlab::Application.routes.draw do end resources :keys - match "/u/:username" => "users#show", as: :user + match "/u/:username" => "users#show", as: :user, constraints: { username: /.*/ } |