Use render instead of render_if_exists in app/views/projects/services/prometheus/_show.html.haml

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-07-23 15:59:32 +02:00
parent 1a959e1bf4
commit 6815ae3e9f
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -7,4 +7,4 @@
= link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus_library/metrics'), target: '_blank', rel: "noopener noreferrer" = link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus_library/metrics'), target: '_blank', rel: "noopener noreferrer"
.col-lg-9 .col-lg-9
= render_if_exists 'projects/services/prometheus/metrics', project: @project = render 'projects/services/prometheus/metrics', project: @project