Revision 6b26002b
Added by Shlomi Zadok over 9 years ago
app/controllers/hosts_controller.rb | ||
---|---|---|
|
||
def destroy
|
||
if @host.destroy
|
||
process_success
|
||
process_success :success_redirect => hosts_path
|
||
else
|
||
process_error
|
||
end
|
Also available in: Unified diff
fixes #8638 - ensure that a redirect to hosts index after host destroy
(cherry picked from commit e29e550e8428a16276de9ac1f06efac9288eb361)