summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 889995e92a6..a976ba9d593 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -406,6 +406,7 @@ Gitlab::Application.routes.draw do
post :automerge
get :automerge_check
get :ci_status
+ post :set_subscription
end
collection do
@@ -440,6 +441,9 @@ Gitlab::Application.routes.draw do
end
resources :issues, constraints: { id: /\d+/ }, except: [:destroy] do
+ member do
+ post :set_subscription
+ end
collection do
post :bulk_update
end