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:23:34 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 15:41:29 +0300
commit284d4f76fee9f593cb67f3f2978ad4f49ef03c13 (patch)
tree405f5d50f0536dd85c1694434adc453a301cc196 /lib/gitlab/gon_helper.rb
parentca6cc6014eed02b2e74bc8ffe65d3c1cc2e511b4 (diff)
Attempted adding separate clientside_sentry settings
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 4de504e9bf9..a8a2715e848 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 = sentry_dsn_public if sentry_enabled?
+ gon.sentry_dsn = Gitlab.config.clientside_sentry_dsn if clientside_sentry_enabled?
gon.gitlab_url = Gitlab.config.gitlab.url
gon.is_production = Rails.env.production?