From 583fd2c1fd4323d0b9532fa0f9fe88669ced6ebc Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sun, 20 Sep 2020 17:02:15 -0500 Subject: [Privacy, UI] Split privacy-related preferences into Privacy options section; add option to disable RSS --- app/controllers/settings/preferences/privacy_controller.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/controllers/settings/preferences/privacy_controller.rb (limited to 'app/controllers/settings/preferences') 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 -- cgit