about summary refs log tree commit diff
path: root/app/controllers/settings
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-06-07 16:51:08 +0200
committerGitHub <noreply@github.com>2019-06-07 16:51:08 +0200
commit560ec24e585face30ee99d5bba39a02948fd118f (patch)
tree7e2739d163f9318b9e8defd27c93fbd31d472766 /app/controllers/settings
parentcdb420862eb54f6fbfde3b8485a61e0c052ff9f4 (diff)
Change /settings/preferences to redirect to appearance, add /settings/preferences/other (#10988)
Diffstat (limited to 'app/controllers/settings')
-rw-r--r--app/controllers/settings/preferences/other_controller.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/controllers/settings/preferences/other_controller.rb b/app/controllers/settings/preferences/other_controller.rb
new file mode 100644
index 000000000..07eb89a76
--- /dev/null
+++ b/app/controllers/settings/preferences/other_controller.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class Settings::Preferences::OtherController < Settings::PreferencesController
+  private
+
+  def after_update_redirect_path
+    settings_preferences_other_path
+  end
+end