summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-09 16:43:36 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-09 16:43:36 +0000
commit7e574a896bc7f4c4b80794d509330c33262be9fd (patch)
tree10c8eb5e96cd39ec44a04429afcf75b685a20e1e /config
parent41913fcc096cfceb1b8245ffeffa471a668d1d20 (diff)
parentde11c13ac074baa2b63165a51c59f2925c0dff83 (diff)
downloadgitlab-ce-7e574a896bc7f4c4b80794d509330c33262be9fd.tar.gz
Merge branch 'dashboard-groups' into 'master'
Move profile groups page to dashboard For #2069 See merge request !1654
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 6dd9ded0193..1b855cd7a32 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -193,11 +193,6 @@ Gitlab::Application.routes.draw do
end
resources :keys
resources :emails, only: [:index, :create, :destroy]
- resources :groups, only: [:index] do
- member do
- delete :leave
- end
- end
resource :avatar, only: [:destroy]
end
end
@@ -220,6 +215,12 @@ Gitlab::Application.routes.draw do
scope module: :dashboard do
resources :milestones, only: [:index, :show]
+
+ resources :groups, only: [:index] do
+ member do
+ delete :leave
+ end
+ end
end
end