Adds before_filter to generic_works_controller