Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-12-08 02:30:17 +0300
committerRobert Speicher <robert@gitlab.com>2017-12-08 02:30:17 +0300
commit22666b78080a02951d4c6a732ca4b0b6e1beb4b7 (patch)
tree465bde07ccc632ce864a15e669dc9e11789a05d9 /app/helpers
parent73a79f7efbd8dec42b4a344faa3df5bf1c57a315 (diff)
parente6ac6734c2f636d3d063718a95ba1169e299b51f (diff)
Merge branch '40825-use-relative-path-urls' into 'master'
Use relative _path helper URLs in the GitLab UI Closes #40825 See merge request gitlab-org/gitlab-ce!15738
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/builds_helper.rb3
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: ''