I have a controller with some non standard actions, like admin, moderate, etc. I tried using the hook before_admin
it that didn't work. Is it possible to use these hooks for my custom actions?
Sorry for the lack of clarity. Say I have something that I want to happen before saving..it's easy to just do a before_save :do_whatever
inside the model. I want to have something like a before_admin :do_something
or before_moderate :do_something
, where these are custom methods in my controller.