diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-05-02 18:23:17 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-05-02 18:23:17 +0000 |
commit | 77c473893d7e5797b374ce6918b659361754ee9e (patch) | |
tree | b6ab07ea8166aa1228074eaced81a32433bcc40e /lib/gitlab | |
parent | c7c9f38d01938963a8cdf7f5a3bd12ea53e22e59 (diff) | |
download | gitlab-ce-77c473893d7e5797b374ce6918b659361754ee9e.tar.gz |
Optimize Emoji Sprite Handling
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index a7e055ac444..c741dabe168 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -19,6 +19,7 @@ module Gitlab gon.gitlab_logo = ActionController::Base.helpers.asset_path('gitlab_logo.png') gon.sprite_icons = IconsHelper.sprite_icon_path gon.sprite_file_icons = IconsHelper.sprite_file_icons_path + gon.emoji_sprites_css_path = ActionController::Base.helpers.stylesheet_path('emoji_sprites') gon.test_env = Rails.env.test? gon.suggested_label_colors = LabelsHelper.suggested_colors |