diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-29 12:21:20 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-29 12:21:20 +0200 |
commit | 0ea9e477229830c7fb82bd6beaaf8fcdd9d0129e (patch) | |
tree | 720749bd45bb09861f3f9b3a3dbbd5db17617bed | |
parent | 10f84f99cb663faae37139495f547bb68bd8aced (diff) | |
download | gitlab-ce-0ea9e477229830c7fb82bd6beaaf8fcdd9d0129e.tar.gz |
Remove deprecated CI badge helper
Closes #13446
-rw-r--r-- | app/helpers/ci_badge_helper.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/helpers/ci_badge_helper.rb b/app/helpers/ci_badge_helper.rb deleted file mode 100644 index 27386133e36..00000000000 --- a/app/helpers/ci_badge_helper.rb +++ /dev/null @@ -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 |