josevalim/inherited_resources — pull request #337 by efexen (2013-11-17 22:23:29+00:00)
Title: Added ability to change the default redirect order for actions

Hey, I've been using inherited resources a great deal lately and find myself constantly changing the redirect path after successful create or update. Came up with this nifty idea for allowing the order of the redirects for CUD to be overridden which saves you from having to defined each action with the short hand redirect.

Could you have a look through the diff below and merge if you think it suitable, I've tried to keep all interfaces same and followed the styles and conventions when possible. I've added some new tests as well to ensure this new functionality is correct and amended the README with instructions on how to use this.

Thanks
.FxN