Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 15:51:45 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 15:51:45 +0300
commit8e8be5d1710f246bbb43c6c0bae82dead1139fde (patch)
tree95f8ecaa4b5b8ec1daf1163591b4e49941c70de5 /lib/gitlab/gon_helper.rb
parentcb4b2e31a75e0f31e49f739c9008451d53908a0e (diff)
Fixed view to correct property
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r--lib/gitlab/gon_helper.rb2
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?