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