From e35636a0d16f3154970d71a305574e59fa2ad393 Mon Sep 17 00:00:00 2001
From: Takeshi Umeda <noel.yoshiba@gmail.com>
Date: Sat, 21 Sep 2019 09:59:37 +0900
Subject: [PATCH] Fixed an error in the aliases template of the aliases
 controller (#11902)

---
 app/controllers/settings/aliases_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/settings/aliases_controller.rb b/app/controllers/settings/aliases_controller.rb
index 2b675f065a..da0a4a9fa6 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
 
-- 
GitLab