diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-20 17:02:15 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-20 17:02:15 -0500 |
commit | 583fd2c1fd4323d0b9532fa0f9fe88669ced6ebc (patch) | |
tree | bc4ef24d82bc982f5b512c6bf8bf0fdfbec6d1b6 /app/controllers/settings | |
parent | 69473c4fbec7775cae2badfeb16990aa0e9e85a4 (diff) |
[Privacy, UI] Split privacy-related preferences into Privacy options section; add option to disable RSS
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/preferences/privacy_controller.rb | 9 | ||||
-rw-r--r-- | app/controllers/settings/preferences_controller.rb | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/settings/preferences/privacy_controller.rb b/app/controllers/settings/preferences/privacy_controller.rb new file mode 100644 index 000000000..f447fa598 --- /dev/null +++ b/app/controllers/settings/preferences/privacy_controller.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class Settings::Preferences::PrivacyController < Settings::PreferencesController + private + + def after_update_redirect_path + settings_preferences_privacy_path + end +end diff --git a/app/controllers/settings/preferences_controller.rb b/app/controllers/settings/preferences_controller.rb index ddbf89665..bbfd82869 100644 --- a/app/controllers/settings/preferences_controller.rb +++ b/app/controllers/settings/preferences_controller.rb @@ -77,6 +77,7 @@ class Settings::PreferencesController < Settings::BaseController :setting_filter_to_unknown, :setting_filter_from_unknown, :setting_unpublish_on_delete, + :setting_rss_disabled, notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account trending_tag), interactions: %i(must_be_follower must_be_following must_be_following_dm) ) |