From 1b91f2bac9008389e739393aedb7ce7710fec45f Mon Sep 17 00:00:00 2001 From: uu59 Date: Fri, 27 Jun 2014 14:09:41 +0900 Subject: [PATCH] Change redirect url to fluentd#show instead root after updated fluentd --- app/controllers/fluentd_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/fluentd_controller.rb b/app/controllers/fluentd_controller.rb index bf281b5..580f3b2 100644 --- a/app/controllers/fluentd_controller.rb +++ b/app/controllers/fluentd_controller.rb @@ -15,7 +15,7 @@ class FluentdController < ApplicationController unless @fluentd.save return render :new end - redirect_to root_path + redirect_to fluentd_path end def edit @@ -27,7 +27,7 @@ class FluentdController < ApplicationController unless @fluentd.save return render :edit end - redirect_to root_path + redirect_to fluentd_path end def destroy