diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-24 19:24:14 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-24 19:24:14 +0400 |
commit | 3e09e6f7b8032859a82266282dfd35715b3b3727 (patch) | |
tree | 7f882004565743b11cb4c734cbdfb9417fa1a9ab /config/routes.rb | |
parent | e55e23bbda6f6a95982109bc46e48a5550e4c181 (diff) |
Move Profile related controllers under Profiles:: module
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index a59e6b7ce5b..c6b25e460cd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -113,11 +113,13 @@ Gitlab::Application.routes.draw do put :update_username end - resource :notifications, only: [:show, :update] - resource :password, only: [:new, :create] + scope module: :profiles do + resource :notifications, only: [:show, :update] + resource :password, only: [:new, :create] + resources :keys + end end - resources :keys match "/u/:username" => "users#show", as: :user, constraints: { username: /.*/ } |