Merge branch 'zj-ref-path-monospace' into 'master'

Fix 404 on jobs details page

See merge request !13459
This commit is contained in:
Douwe Maan 2017-08-11 10:55:53 +00:00
commit 539152bcaf
2 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,7 @@
Pipeline
= link_to "##{@build.pipeline.id}", project_pipeline_path(@project, @build.pipeline), class: 'link-commit'
from
= link_to "#{@build.pipeline.ref}", project_branch_path(@project, @build.pipeline.ref), class: 'link-commit'
= link_to "#{@build.pipeline.ref}", project_ref_path(@project, @build.pipeline.ref), class: 'link-commit ref-name'
%button.dropdown-menu-toggle{ type: 'button', 'data-toggle' => 'dropdown' }
%span.stage-selection More
= icon('chevron-down')

View File

@ -0,0 +1,4 @@
---
title: Use project_ref_path to create the link to a branch to fix links that 404
merge_request:
author: