I need to add common actions to a number of my controllers without using inheritance. All our controllers extend an Abstract controller and the functionality I want to include does not make sense in the abstract controller.
My initial idea was to use a Mixin, but it appears that actions, since they are closures, are not 'mixed-in' to the controllers that include the mixin, only methods are.
Can anyone suggest a way I can get "mixin' like functionality to add actions to controllers?
thanks!