diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-06 02:15:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 02:15:56 +0200 |
commit | f89c595ea070d2017adb868fb5e311e198d8e990 (patch) | |
tree | 184c3ee83a0662b1438f2ee3a0cf02ab416e40eb /app/models/form | |
parent | 404c7702ec2a6576ef3b54f6a800624adfda9d53 (diff) |
Add admin setting to enable OG previews for sensitive media (#7962)
Diffstat (limited to 'app/models/form')
-rw-r--r-- | app/models/form/admin_settings.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/form/admin_settings.rb b/app/models/form/admin_settings.rb index 32922e7f1..723480bdd 100644 --- a/app/models/form/admin_settings.rb +++ b/app/models/form/admin_settings.rb @@ -36,6 +36,8 @@ class Form::AdminSettings :peers_api_enabled=, :show_known_fediverse_at_about_page, :show_known_fediverse_at_about_page=, + :preview_sensitive_media, + :preview_sensitive_media=, to: Setting ) end |