Remove deprecated CI badge helper

Closes #13446
This commit is contained in:
Grzegorz Bizon 2016-04-29 12:21:20 +02:00
parent 10f84f99cb
commit 0ea9e47722
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
module CiBadgeHelper
def markdown_badge_code(project, ref)
url = status_ci_project_url(project, ref: ref, format: 'png')
link = namespace_project_commits_path(project.namespace, project, ref)
"[![build status](#{url})](#{link})"
end
def html_badge_code(project, ref)
url = status_ci_project_url(project, ref: ref, format: 'png')
link = namespace_project_commits_path(project.namespace, project, ref)
"<a href='#{link}'><img src='#{url}' /></a>"
end
end