about summary refs log tree commit diff
path: root/app/controllers/settings
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2019-09-21 09:59:37 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-09-21 02:59:37 +0200
commite35636a0d16f3154970d71a305574e59fa2ad393 (patch)
tree1f0112e8e77d6bbaca538cc58f8fff529ed52c09 /app/controllers/settings
parent1caa823d0654b86f8e69446bad8a3adee276d12a (diff)
Fixed an error in the aliases template of the aliases controller (#11902)
Diffstat (limited to 'app/controllers/settings')
-rw-r--r--app/controllers/settings/aliases_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/aliases_controller.rb b/app/controllers/settings/aliases_controller.rb
index 2b675f065..da0a4a9fa 100644
--- a/app/controllers/settings/aliases_controller.rb
+++ b/app/controllers/settings/aliases_controller.rb
@@ -17,7 +17,7 @@ class Settings::AliasesController < Settings::BaseController
     if @alias.save
       redirect_to settings_aliases_path, notice: I18n.t('aliases.created_msg')
     else
-      render :show
+      render :index
     end
   end