diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-02 06:08:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-02 06:08:40 +0300 |
commit | 61d5cc9f2340b618b39ad3fdba6b3661646306a5 (patch) | |
tree | c78312cb7aae3d724887c002ae6cdf3447bb3f27 /app/serializers | |
parent | e35ac5e805fcb47d43591f605a9d5abfb75f44b8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/prometheus_alert_entity.rb | 4 |
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 |