summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-11-09 10:38:00 +0100
committerTim Zallmann <tzallmann@gitlab.com>2017-11-09 10:38:00 +0100
commit25eea058335ed0149621fb7470c9e8db5a24b481 (patch)
tree6d811a8c91fa38fc80b3f1d996b6a5e1903328f0 /lib
parent20ac30a705f4edd22efd934ecf68b58557f868db (diff)
downloadgitlab-ce-25eea058335ed0149621fb7470c9e8db5a24b481.tar.gz
Icon Sprite URL is also local even if asset_host is set
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/gon_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb
index 3a666c2268b..dfcdfc307b6 100644
--- a/lib/gitlab/gon_helper.rb
+++ b/lib/gitlab/gon_helper.rb
@@ -20,7 +20,7 @@ module Gitlab
gon.gitlab_url = Gitlab.config.gitlab.url
gon.revision = Gitlab::REVISION
gon.gitlab_logo = ActionController::Base.helpers.asset_path('gitlab_logo.png')
- gon.sprite_icons = ActionController::Base.helpers.asset_path('icons.svg')
+ gon.sprite_icons = IconsHelper.sprite_icon_path
if current_user
gon.current_user_id = current_user.id