summaryrefslogtreecommitdiff
path: root/app/helpers/environments_helper.rb
diff options
context:
space:
mode:
authorDhiraj Bodicherla <dhiraj@gitlab.com>2019-06-14 07:59:42 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-06-14 07:59:42 +0000
commit3179564f74b04c269577427e7521bf7d373cb342 (patch)
treeeb94cf41488dc30f285ce01ff5dbc6902c6e38d9 /app/helpers/environments_helper.rb
parent9f923ff4137c46e53638d625155a2bd5429a444c (diff)
downloadgitlab-ce-3179564f74b04c269577427e7521bf7d373cb342.tar.gz
Fix missing deployment rockets in monitor dashboard
Fixed inconsistencies in variable names for deployment endpoints for monitoring dashboard which causes deployment rocket icons to disappear
Diffstat (limited to 'app/helpers/environments_helper.rb')
-rw-r--r--app/helpers/environments_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/environments_helper.rb b/app/helpers/environments_helper.rb
index 855b243cc8a..0f118c235d8 100644
--- a/app/helpers/environments_helper.rb
+++ b/app/helpers/environments_helper.rb
@@ -27,7 +27,7 @@ module EnvironmentsHelper
"empty-unable-to-connect-svg-path" => image_path('illustrations/monitoring/unable_to_connect.svg'),
"metrics-endpoint" => additional_metrics_project_environment_path(project, environment, format: :json),
"dashboard-endpoint" => metrics_dashboard_project_environment_path(project, environment, format: :json),
- "deployment-endpoint" => project_environment_deployments_path(project, environment, format: :json),
+ "deployments-endpoint" => project_environment_deployments_path(project, environment, format: :json),
"environments-endpoint": project_environments_path(project, format: :json),
"project-path" => project_path(project),
"tags-path" => project_tags_path(project),