diff options
Diffstat (limited to 'app/helpers/builds_helper.rb')
-rw-r--r-- | app/helpers/builds_helper.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb index f0a0d245dc0..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: namespace_project_job_url(@project.namespace, @project, @build), - build_url: namespace_project_job_url(@project.namespace, @project, @build, :json), + page_path: project_job_path(@project, @build), build_status: @build.status, build_stage: @build.stage, log_state: '' @@ -30,8 +29,8 @@ module BuildsHelper def build_failed_issue_options { - title: "Build Failed ##{@build.id}", - description: namespace_project_job_url(@project.namespace, @project, @build) + title: "Job Failed ##{@build.id}", + description: project_job_url(@project, @build) } end end |