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:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 16:31:08 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 19:58:28 +0300
commit355389d065216739a2b8e8150a1a569c410f4ff6 (patch)
tree109be64911e0b99f220a2cee530ab3d05f15129c /config/routes/group.rb
parentaa78148901cd3877936bc2afcea9c329077bf951 (diff)
Disable subscribing to group-level labels
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb6
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