diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-12-05 05:18:45 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-12-07 20:19:37 +0300 |
commit | e6ac6734c2f636d3d063718a95ba1169e299b51f (patch) | |
tree | 5ebb145da1c9f9f242b13ca3ccfdcc176766c3e3 /app/helpers/builds_helper.rb | |
parent | 9dffd0ab6b2e9f5b0db55230d8991f50a01f7669 (diff) |
Use relative _path helper URLs in the GitLab UI
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40825
Diffstat (limited to 'app/helpers/builds_helper.rb')
-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: '' |