Rescuing redirect :back after destroy in Rails?
- by Andreas
I'm looking for a best practice solution to be able to keep using redirect :back after a successful destroy action, as many items can be deleted from a variety of listings.
Unfortunately that strategy fails for the one case when the delete is initiated from the item view itself.
What approach do you recommend for this situation?