Don't use global variables in application_helper