diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-29 11:09:34 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-29 11:09:34 +0000 |
commit | b8f28628f59b38136aba5704d3feb84af3eaa567 (patch) | |
tree | 60ce8a00c9369c2e39205225f2e54a235e9dd076 | |
parent | 1c0aef446460164d2655926d8c08b77274bff7e1 (diff) | |
parent | 0ea9e477229830c7fb82bd6beaaf8fcdd9d0129e (diff) | |
download | gitlab-ce-b8f28628f59b38136aba5704d3feb84af3eaa567.tar.gz |
Merge branch 'fix/remove-deprecated-ci-helper' into 'master'
Remove deprecated CI badge helper
Closes #13446
See merge request !3977
-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 |