debian-mirror-gitlab/app/helpers/builds_helper.rb

14 lines
296 B
Ruby
Raw Normal View History

2015-10-24 18:46:33 +05:30
module BuildsHelper
def build_ref_link build
gitlab_ref_link build.project, build.ref
end
def build_commit_link build
gitlab_commit_link build.project, build.short_sha
end
def build_url(build)
namespace_project_build_path(build.gl_project, build.project, build)
end
end