DRYing up repeated controller code with a before_action filter