Fix 404 on link path

This commit is contained in:
Z.J. van de Weg 2017-08-10 16:13:25 +02:00
parent 0ff2f66425
commit e641072502
No known key found for this signature in database
GPG key ID: 65F6A8D64A88ABAC
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: