summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@yahoo.com>2018-03-03 14:53:42 +0530
committerhaseeb <haseebeqx@yahoo.com>2018-03-03 14:53:42 +0530
commit097dc726d6ed8f8cfe1e55e47e60d7c813882402 (patch)
tree451af5f692b48bba346d0bee030d854aba637fef /app/helpers
parent3cd80c37647ca8587bc46ac47d1a628d5e4e5446 (diff)
downloadgitlab-ce-097dc726d6ed8f8cfe1e55e47e60d7c813882402.tar.gz
use sprite for icons
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/icons_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb
index 67001c55e88..2f304b040c7 100644
--- a/app/helpers/icons_helper.rb
+++ b/app/helpers/icons_helper.rb
@@ -44,7 +44,7 @@ module IconsHelper
end
def external_snippet_icon(name)
- content_tag(:img, "", src: "#{image_url('/assets/ext_snippet_icons')}/#{name}.png", width: '16px', height: '16px')
+ content_tag(:span, "", class: "gl-snippet-icon gl-snippet-icon-#{name}")
end
def audit_icon(names, options = {})