Commit a7352c35 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Put namespaces#show route below user ssh keys route

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent b3151828
...@@ -143,10 +143,10 @@ Rails.application.routes.draw do ...@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment