summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-03-05 17:38:58 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2018-03-28 13:57:41 +0200
commitd02694c5c53265ccd9e8a51a52dc8bb8bcbff656 (patch)
tree5cf3ce7910ac8f247fc13f4dc3e6b3685ff30f4c
parentbb64b20a1f7dd831e4c200343b531f9d048c02a8 (diff)
downloadgitlab-ce-d02694c5c53265ccd9e8a51a52dc8bb8bcbff656.tar.gz
Use help_page_path helper to generate runner_help_url
-rw-r--r--app/views/projects/jobs/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/jobs/show.html.haml b/app/views/projects/jobs/show.html.haml
index 4d2bc3a04a4..fa27ded7cc2 100644
--- a/app/views/projects/jobs/show.html.haml
+++ b/app/views/projects/jobs/show.html.haml
@@ -111,4 +111,4 @@
.js-build-options{ data: javascript_build_options }
-#js-job-details-vue{ data: { endpoint: project_job_path(@project, @build, format: :json), runner_help_url: '/help/ci/runners/README.html#setting-maximum-job-timeout-for-a-runner' } }
+#js-job-details-vue{ data: { endpoint: project_job_path(@project, @build, format: :json), runner_help_url: help_page_path('ci/runners/README.html', anchor: 'setting-maximum-job-timeout-for-a-runner') } }