Put namespaces#show route below user ssh keys route

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-10-05 16:40:11 +03:00
parent b3151828e7
commit a7352c35fc
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 2 additions and 2 deletions

View File

@ -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