about summary refs log tree commit diff
path: root/app/controllers/settings/preferences
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-09-20 17:02:15 -0500
committerFire Demon <firedemon@creature.cafe>2020-09-20 17:02:15 -0500
commit583fd2c1fd4323d0b9532fa0f9fe88669ced6ebc (patch)
treebc4ef24d82bc982f5b512c6bf8bf0fdfbec6d1b6 /app/controllers/settings/preferences
parent69473c4fbec7775cae2badfeb16990aa0e9e85a4 (diff)
[Privacy, UI] Split privacy-related preferences into Privacy options section; add option to disable RSS
Diffstat (limited to 'app/controllers/settings/preferences')
-rw-r--r--app/controllers/settings/preferences/privacy_controller.rb9
1 files changed, 9 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