batmanjs/batman — pull request #772 by nickjs (2013-07-17 16:19:46+00:00)
Title: Fix argument order for lifecycle events.

@SoapyIllusions

In the new lifecycle events, we already handle `@beforeAction {options}, ->` or `@beforeAction (->), {options}` when you're using a function argument. However we only allow `@beforeAction 'foo', {options}` when using a string argument. This fixes that, and allows both orders in all cases.