redirect on delete

How can I make sure the show page redirects back to where it came from when the resource is deleted?
Was this page helpful?