Change redirect url to fluentd#show instead root after updated fluentd

This commit is contained in:
uu59 2014-06-27 14:09:41 +09:00
parent cec76c10e4
commit 1b91f2bac9

View File

@ -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