I would probably put this in `app/helpers` if it isn't used in the controllers.