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
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 17:37:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 17:43:17 +0400
commit4c8224ae1e9a89e9df5c32beb7afad2f0835fc2b (patch)
tree6d72fa7c681118deb9f25a3c1a0fc2586a355878 /config
parentc41e66db520c43fdcfc0e1e49208a23bb02835a7 (diff)
Move profile account to separate controller
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 612a7327ec5..6d7358608ea 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -99,19 +99,21 @@ Gitlab::Application.routes.draw do
#
resource :profile, only: [:show, :update] do
member do
- get :account
get :history
- get :token
get :design
- put :update_password
put :reset_private_token
put :update_username
end
scope module: :profiles do
+ resource :account, only: [:show, :update]
resource :notifications, only: [:show, :update]
- resource :password, only: [:new, :create]
+ resource :password, only: [:new, :create, :edit, :update] do
+ member do
+ put :reset
+ end
+ end
resources :keys
resources :groups, only: [:index] do
member do