From 3cccd102ba543e02725d247893729e5c73b38295 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 20 Apr 2022 10:00:54 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-10-stable-ee --- app/serializers/environment_status_entity.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/serializers/environment_status_entity.rb') diff --git a/app/serializers/environment_status_entity.rb b/app/serializers/environment_status_entity.rb index 40db23c143e..e8cf7980f5e 100644 --- a/app/serializers/environment_status_entity.rb +++ b/app/serializers/environment_status_entity.rb @@ -16,7 +16,7 @@ class EnvironmentStatusEntity < Grape::Entity end expose :metrics_monitoring_url, if: ->(*) { can_read_environment? } do |es| - environment_metrics_path(es.environment) + project_metrics_dashboard_path(es.project, environment: es.environment) end expose :stop_url, if: ->(*) { can_stop_environment? } do |es| -- cgit v1.2.1