summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-05-01 15:23:11 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-05-01 15:23:11 -0300
commit6627efd6b48e70a572149865bd4196e6f711f9de (patch)
treeb8fa7e862fe83405772bdbef10413a0c5dd44aaf /app/models
parent43648e5ed9c23e5e34bd67255aac329b32b3e925 (diff)
downloadgitlab-ce-6627efd6b48e70a572149865bd4196e6f711f9de.tar.gz
Allow Sentry client-side DSN to be passed on gitlab.yml
Diffstat (limited to 'app/models')
-rw-r--r--app/models/application_setting_implementation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/application_setting_implementation.rb b/app/models/application_setting_implementation.rb
index 557215ff4dc..ee12a1d09f3 100644
--- a/app/models/application_setting_implementation.rb
+++ b/app/models/application_setting_implementation.rb
@@ -196,7 +196,7 @@ module ApplicationSettingImplementation
end
def clientside_sentry_dsn
- Gitlab.config.sentry.dsn || read_attribute(:clientside_sentry_dsn)
+ Gitlab.config.sentry.clientside_dsn || read_attribute(:clientside_sentry_dsn)
end
def performance_bar_allowed_group