summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-11-10 09:28:15 +0000
committerDouwe Maan <douwe@gitlab.com>2017-11-10 09:28:15 +0000
commite482a4d59dae6437a64ae4ccbe6976ffced7b9ba (patch)
tree807f6a2613cc115e76cd4ea96508c62a451b07ec /lib
parentb488c1616b2a209a9f4b6b37f77cab6582954ebb (diff)
parentfce34b4ba80bd4dfda770ea359e09da115caf075 (diff)
downloadgitlab-ce-e482a4d59dae6437a64ae4ccbe6976ffced7b9ba.tar.gz
Merge branch 'tz-no-cdn-for-svg-sprites' into 'master'
Icon Sprite URL needs to be local even if asset_host is set See merge request gitlab-org/gitlab-ce!15289
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