diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-13 16:28:33 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-15 13:52:28 +0100 |
commit | 84371de01f3ce7bab334539a93734658528736ec (patch) | |
tree | 25f7a74f039d60c2a3e377d12d45876419ae3829 /config/routes.rb | |
parent | 224187ffb96283cbf42953a30c116931c03562a2 (diff) | |
download | gitlab-ce-84371de01f3ce7bab334539a93734658528736ec.tar.gz |
Move group leave action from dashboard/groups to groups/group_members.
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb index 459158dcb61..dd70ad2fa0d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -215,11 +215,7 @@ 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 + resources :groups, only: [:index] resources :projects, only: [] do collection do @@ -241,6 +237,7 @@ Gitlab::Application.routes.draw do scope module: :groups do resources :group_members, only: [:index, :create, :update, :destroy] do + delete :leave, on: :collection end resource :avatar, only: [:destroy] |