summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 4b2bac97678..9bae328cde6 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -75,7 +75,12 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
put :reset_registration_token
end
- resource :operations, only: [:show, :update]
+ resource :operations, only: [:show, :update] do
+ member do
+ post :reset_alerting_token
+ end
+ end
+
resource :integrations, only: [:show]
resource :repository, only: [:show], controller: :repository do