Fix 404 on link path
This commit is contained in:
parent
0ff2f66425
commit
e641072502
2 changed files with 5 additions and 1 deletions
|
@ -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')
|
||||
|
|
4
changelogs/unreleased/zj-ref-path-monospace.yml
Normal file
4
changelogs/unreleased/zj-ref-path-monospace.yml
Normal 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:
|
Loading…
Reference in a new issue