This is just a note, maybe to add to documentation, maybe so other people find out quicker:
The before and after functions for controller should be the last to be included in a controller. I was used to defining them at the top, and didn't get why they were not firing. Turned out controller._actions() only retrieves the functions defined before the filters were defined in the controller, and this is the function that gets called when giving a wildcard for before and after.
You received this message because you are subscribed to the Google Groups "Locomotive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to locomotivejs...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.