gitlab-org--gitlab-foss/app/helpers/builds_helper.rb
Dmitriy Zaporozhets 82b6a17ca7
Fix ci build routing and few tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-10-06 21:41:37 +02:00

13 lines
296 B
Ruby

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