summaryrefslogtreecommitdiff
path: root/app/helpers/appearances_helper.rb
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-09-22 08:39:47 +0000
committerPhil Hughes <me@iamphill.com>2017-09-22 08:39:47 +0000
commit55f772bb98a67ad346442a2cacb5646f6719b987 (patch)
treefdcda42d5ee9c746b5654a50fa88a0fd1464d3a8 /app/helpers/appearances_helper.rb
parentd103e95513704314a38ab8ae441851524031c4a1 (diff)
downloadgitlab-ce-55f772bb98a67ad346442a2cacb5646f6719b987.tar.gz
Resolve "Better SVG Usage in the Frontend"
Diffstat (limited to 'app/helpers/appearances_helper.rb')
-rw-r--r--app/helpers/appearances_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/appearances_helper.rb b/app/helpers/appearances_helper.rb
index cdf5fa5d4b7..8ad94d3f723 100644
--- a/app/helpers/appearances_helper.rb
+++ b/app/helpers/appearances_helper.rb
@@ -30,10 +30,4 @@ module AppearancesHelper
render 'shared/logo.svg'
end
end
-
- def custom_icon(icon_name, size: 16)
- # We can't simply do the below, because there are some .erb SVGs.
- # File.read(Rails.root.join("app/views/shared/icons/_#{icon_name}.svg")).html_safe
- render "shared/icons/#{icon_name}.svg", size: size
- end
end