gregbell/active_admin — pull request #1944 by EddM (2013-02-27 00:33:03+00:00)
Title: Allow redirection shortcut for inherited_resources actions

This fixes issue #1930 by just passing through any blocks passed to inherited_resources actions such as `create!` when provided with zero arguments. This allows the shortcut to defining redirection locations within the block provided.

Although honestly, I don't get why AA overwrites `create!`, `update!` and `destroy!` (or rather, `create`, `update` and `destroy`) anyway. As far as I can see, the behaviour would be the same if it didn't. Can anyone enlighten me?