mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
Change redirect url to fluentd#show instead root after updated fluentd
This commit is contained in:
parent
cec76c10e4
commit
1b91f2bac9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user