summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-02 03:08:40 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-02 03:08:40 +0000
commit61d5cc9f2340b618b39ad3fdba6b3661646306a5 (patch)
treec78312cb7aae3d724887c002ae6cdf3447bb3f27 /config/routes/project.rb
parente35ac5e805fcb47d43591f605a9d5abfb75f44b8 (diff)
downloadgitlab-ce-61d5cc9f2340b618b39ad3fdba6b3661646306a5.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index e8c7333b261..a4a3e55f711 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -522,7 +522,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
namespace :prometheus do
- resources :alerts, constraints: { id: /\d+/ }, only: [:show] do # rubocop: disable Cop/PutProjectRoutesUnderScope
+ resources :alerts, constraints: { id: /\d+/ }, only: [] do # rubocop: disable Cop/PutProjectRoutesUnderScope
post :notify, on: :collection # rubocop:todo Cop/PutProjectRoutesUnderScope
member do
get :metrics_dashboard # rubocop:todo Cop/PutProjectRoutesUnderScope