Skip to content
Snippets Groups Projects
Verified Commit b3151828 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Put user keys routing back below project routing

parent f223a416
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -145,5 +145,8 @@ Rails.application.routes.draw do
 
get ':id' => 'namespaces#show', constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
 
# Get all keys of user
get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ }
root to: "root#index"
end
Loading
Loading
@@ -21,6 +21,3 @@ devise_scope :user do
get '/users/auth/:provider/omniauth_error' => 'omniauth_callbacks#omniauth_error', as: :omniauth_error
get '/users/almost_there' => 'confirmations#almost_there'
end
# Get all keys of user
get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment