diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-05 16:05:26 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-05 16:05:26 +0300 |
commit | b3151828e74346f54b20711593829191b1a7a829 (patch) | |
tree | 892e40bc3783d6a84f5aed53718ff4d407418a3c /config/routes.rb | |
parent | f223a41660f1a629614d3d559468b1a5488b96d8 (diff) | |
download | gitlab-ce-b3151828e74346f54b20711593829191b1a7a829.tar.gz |
Put user keys routing back below project routing
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index c364a963fb7..75bc551feb5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -145,5 +145,8 @@ Rails.application.routes.draw do get ':id' => 'namespaces#show', constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ } + # Get all keys of user + get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ } + root to: "root#index" end |