Put namespaces#show route below user ssh keys route
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
b3151828e7
commit
a7352c35fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue