diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-05 20:51:38 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-05 20:51:38 +0300 |
commit | b81535351023a3b19870ce052d8c3d0563391686 (patch) | |
tree | 0332d42df3b6fb80e752b47121f6a0f4ddb0cf92 /app/models | |
parent | c9b246334753c47bef1111bdbfc1a45a1c9b0cfe (diff) | |
parent | e5a7ed3ac36aaa1045353e589dae98a29ca72f1e (diff) |
Merge branch 'add-sentry-js-again-with-vue' into 'master'
Add sentry JS
See merge request !6764
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/application_setting.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb index cf042717c95..54f01f8637e 100644 --- a/app/models/application_setting.rb +++ b/app/models/application_setting.rb @@ -62,6 +62,10 @@ class ApplicationSetting < ActiveRecord::Base presence: true, if: :sentry_enabled + validates :clientside_sentry_dsn, + presence: true, + if: :clientside_sentry_enabled + validates :akismet_api_key, presence: true, if: :akismet_enabled |