diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-12-04 20:18:45 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-12-07 11:19:37 -0600 |
commit | e6ac6734c2f636d3d063718a95ba1169e299b51f (patch) | |
tree | 5ebb145da1c9f9f242b13ca3ccfdcc176766c3e3 /app/helpers | |
parent | 9dffd0ab6b2e9f5b0db55230d8991f50a01f7669 (diff) | |
download | gitlab-ce-e6ac6734c2f636d3d063718a95ba1169e299b51f.tar.gz |
Use relative _path helper URLs in the GitLab UI40825-use-relative-path-urls
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40825
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/builds_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb index aa3a9a055a0..4ec63fdaffc 100644 --- a/app/helpers/builds_helper.rb +++ b/app/helpers/builds_helper.rb @@ -20,8 +20,7 @@ module BuildsHelper def javascript_build_options { - page_url: project_job_url(@project, @build), - build_url: project_job_url(@project, @build, :json), + page_path: project_job_path(@project, @build), build_status: @build.status, build_stage: @build.stage, log_state: '' |