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