summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-25 09:08:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-25 09:08:11 +0000
commit5064bf8c5647d4c4430cbb4d097cf1592416de29 (patch)
treed051bf2abe2cc7061b3a7facb6669a56ccb9cf54 /config
parent9c83aadd2604e7e6cb1f84683f951e6b12872618 (diff)
downloadgitlab-ce-5064bf8c5647d4c4430cbb4d097cf1592416de29.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-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