diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-28 13:51:45 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-28 13:51:45 +0100 |
commit | 8e8be5d1710f246bbb43c6c0bae82dead1139fde (patch) | |
tree | 95f8ecaa4b5b8ec1daf1163591b4e49941c70de5 /lib | |
parent | cb4b2e31a75e0f31e49f739c9008451d53908a0e (diff) | |
download | gitlab-ce-8e8be5d1710f246bbb43c6c0bae82dead1139fde.tar.gz |
Fixed view to correct property
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 a8a2715e848..e7ae1d16698 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -12,7 +12,7 @@ module Gitlab gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class gon.katex_css_url = ActionController::Base.helpers.asset_path('katex.css') gon.katex_js_url = ActionController::Base.helpers.asset_path('katex.js') - gon.sentry_dsn = Gitlab.config.clientside_sentry_dsn if clientside_sentry_enabled? + gon.sentry_dsn = Gitlab.config.clientside_sentry_dsn if Gitlab.config.clientside_sentry_enabled gon.gitlab_url = Gitlab.config.gitlab.url gon.is_production = Rails.env.production? |