diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-06-09 03:27:52 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-06-09 03:37:40 +0300 |
commit | 92af60c2449cae5cbe2a8ef8ea65e973017053c2 (patch) | |
tree | 8c9e0fff46a85f454863bdb52ed2ce2c2f4db7d0 /lib | |
parent | 52525dc4c28750a61697375900830589bb79eaa9 (diff) | |
download | gitlab-ce-92af60c2449cae5cbe2a8ef8ea65e973017053c2.tar.gz |
Move award_menu_url variable into gon object.
Diffstat (limited to 'lib')
-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 ab900b641c4..f751a3a12fd 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -8,6 +8,7 @@ module Gitlab gon.relative_url_root = Gitlab.config.gitlab.relative_url_root gon.shortcuts_path = help_shortcuts_path gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class + gon.award_menu_url = emojis_path if current_user gon.current_user_id = current_user.id |