diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-02 03:08:40 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-02 03:08:40 +0000 |
commit | 61d5cc9f2340b618b39ad3fdba6b3661646306a5 (patch) | |
tree | c78312cb7aae3d724887c002ae6cdf3447bb3f27 /config/routes/project.rb | |
parent | e35ac5e805fcb47d43591f605a9d5abfb75f44b8 (diff) | |
download | gitlab-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.rb | 2 |
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 |