Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-02 06:08:40 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-02 06:08:40 +0300
commit61d5cc9f2340b618b39ad3fdba6b3661646306a5 (patch)
treec78312cb7aae3d724887c002ae6cdf3447bb3f27 /app/serializers
parente35ac5e805fcb47d43591f605a9d5abfb75f44b8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/prometheus_alert_entity.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/serializers/prometheus_alert_entity.rb b/app/serializers/prometheus_alert_entity.rb
index 92905d2b389..fb25889e4db 100644
--- a/app/serializers/prometheus_alert_entity.rb
+++ b/app/serializers/prometheus_alert_entity.rb
@@ -13,10 +13,6 @@ class PrometheusAlertEntity < Grape::Entity
prometheus_alert.computed_operator
end
- expose :alert_path do |prometheus_alert|
- project_prometheus_alert_path(prometheus_alert.project, prometheus_alert.prometheus_metric_id, environment_id: prometheus_alert.environment.id, format: :json)
- end
-
private
alias_method :prometheus_alert, :object