]> cat aescling's git repositories - mastodon.git/commitdiff
Fixed an error in the aliases template of the aliases controller (#11902)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Sat, 21 Sep 2019 00:59:37 +0000 (09:59 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 21 Sep 2019 00:59:37 +0000 (02:59 +0200)
app/controllers/settings/aliases_controller.rb

index 2b675f065a5c7959abaa5f244553eef8f6b9fe5c..da0a4a9fa674d428f3564cadb1636a6fd84e39ce 100644 (file)
@@ -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