moving ApplicationHelper to RouteHelper because it makes more sense
forgot to remove debug raise