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
1 changed files with 2 additions and 2 deletions
|
@ -143,10 +143,10 @@ Rails.application.routes.draw do
|
||||||
draw :user
|
draw :user
|
||||||
draw :project
|
draw :project
|
||||||
|
|
||||||
get ':id' => 'namespaces#show', constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
|
|
||||||
|
|
||||||
# Get all keys of user
|
# Get all keys of user
|
||||||
get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ }
|
get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ }
|
||||||
|
|
||||||
|
get ':id' => 'namespaces#show', constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
|
||||||
|
|
||||||
root to: "root#index"
|
root to: "root#index"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue