diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-05-29 16:03:14 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-05-29 16:03:14 +0300 |
commit | 033b44eb614e7ef4e00f3fcbf13b6d5d751ba80b (patch) | |
tree | 16037354972b82f0d250d41b7492670047929785 /lib/gitlab/gon_helper.rb | |
parent | 6b7a70d2018eae437c86fea6795ed97ba1e599bc (diff) |
Fix various bugs related to relative_url_root in development
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-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 0d31934347f..deaa14c8434 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -11,7 +11,7 @@ module Gitlab gon.asset_host = ActionController::Base.asset_host gon.webpack_public_path = webpack_public_path gon.relative_url_root = Gitlab.config.gitlab.relative_url_root - gon.shortcuts_path = help_page_path('shortcuts') + gon.shortcuts_path = Gitlab::Routing.url_helpers.help_page_path('shortcuts') gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class gon.sentry_dsn = Gitlab::CurrentSettings.clientside_sentry_dsn if Gitlab::CurrentSettings.clientside_sentry_enabled gon.gitlab_url = Gitlab.config.gitlab.url |