Call ActionController's verify() in a module?


#1

Hi all

I’m working on a module that an application controller can include.
Within that module I specify some action methods. I want to secure them
from invalid parameters, so I’d like to use ApplicationController’s
verify() method in the modules body. But sadly it doesn’t know this
method yet…
Is there a way to let the module know this method? Some sort of
after_include method that’s automatically called after the module has
been mixed into the class?

Thanks a lot,
Josh