Allow you to specify :if to the before filter.

Allos you to specify if to the before filter