diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-10-24 15:20:27 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-10 16:38:00 -0600 |
commit | f5dd0957bee6f8881f2c53bf2cd5db4c9a109326 (patch) | |
tree | 9df596baaacf4eba708a15f7f5edf0443930332a /app/helpers/gitlab_routing_helper.rb | |
parent | f3231d0f634dc1e8bc9d7d69eaba1f660cd26e36 (diff) | |
download | gitlab-ce-f5dd0957bee6f8881f2c53bf2cd5db4c9a109326.tar.gz |
add link to build's pipeline within build page header
Diffstat (limited to 'app/helpers/gitlab_routing_helper.rb')
-rw-r--r-- | app/helpers/gitlab_routing_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/gitlab_routing_helper.rb b/app/helpers/gitlab_routing_helper.rb index bccf64d1aac..af9087d8326 100644 --- a/app/helpers/gitlab_routing_helper.rb +++ b/app/helpers/gitlab_routing_helper.rb @@ -82,6 +82,10 @@ module GitlabRoutingHelper namespace_project_merge_request_path(entity.project.namespace, entity.project, entity, *args) end + def pipeline_path(pipeline, *args) + namespace_project_pipeline_path(pipeline.project.namespace, pipeline.project, pipeline.id, *args) + end + def milestone_path(entity, *args) namespace_project_milestone_path(entity.project.namespace, entity.project, entity, *args) end |