prevent named routes generation from blowing up when accessing path.requirements
fixed named routes to work with rails 4
Merge pull request #1 from prusswan/master

Rails 4 compatibility: named routes