Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 19:24:14 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 19:24:14 +0400
commit3e09e6f7b8032859a82266282dfd35715b3b3727 (patch)
tree7f882004565743b11cb4c734cbdfb9417fa1a9ab /config/routes.rb
parente55e23bbda6f6a95982109bc46e48a5550e4c181 (diff)
Move Profile related controllers under Profiles:: module
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb8
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: /.*/ }