diff --git a/config/routes.rb b/config/routes.rb index 75bc551feb5..525953449cb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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