diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 11:31:08 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:28 -0200 |
commit | 355389d065216739a2b8e8150a1a569c410f4ff6 (patch) | |
tree | 109be64911e0b99f220a2cee530ab3d05f15129c /config | |
parent | aa78148901cd3877936bc2afcea9c329077bf951 (diff) | |
download | gitlab-ce-355389d065216739a2b8e8150a1a569c410f4ff6.tar.gz |
Disable subscribing to group-level labels
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/group.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 7bb9aa50875..4838c9d91c6 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -29,10 +29,6 @@ resources :groups, constraints: { id: /[a-zA-Z.0-9_\-]+(?<!\.atom)/ } do resource :avatar, only: [:destroy] resources :milestones, constraints: { id: /[^\/]+/ }, only: [:index, :show, :update, :new, :create] - resources :labels, except: [:show], constraints: { id: /\d+/ } do - member do - post :toggle_subscription - end - end + resources :labels, except: [:show], constraints: { id: /\d+/ } end end |