diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-11-10 12:28:15 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-11-10 12:28:15 +0300 |
commit | e482a4d59dae6437a64ae4ccbe6976ffced7b9ba (patch) | |
tree | 807f6a2613cc115e76cd4ea96508c62a451b07ec /lib | |
parent | b488c1616b2a209a9f4b6b37f77cab6582954ebb (diff) | |
parent | fce34b4ba80bd4dfda770ea359e09da115caf075 (diff) |
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.rb | 2 |
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 |