prevent named routes generation from blowing up when accessing path.requirements
fixed named routes to work with rails 4