diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 15:04:57 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 15:04:57 -0500 |
commit | b41ddf9c6977e311b5085de8467ab450aa81b71b (patch) | |
tree | 722957db3decde4f967b8ab60828c90eae6b6fd7 | |
parent | 21063c60ba7f149635440611706bb3ec0aa3a7be (diff) | |
download | gitlab-ce-b41ddf9c6977e311b5085de8467ab450aa81b71b.tar.gz |
Add shortcut_path to GonHelper module
-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 5ebaad6ca6e..ab900b641c4 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -6,6 +6,7 @@ module Gitlab gon.default_issues_tracker = Project.new.default_issue_tracker.to_param gon.max_file_size = current_application_settings.max_attachment_size 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 if current_user |