JedWatson/keystone — pull request #305 by subhog (2014-04-28 08:59:29+00:00)
Title: `PathFor` helper #291

This allows to name your routes in the same place where they're defined and use these names to generate links.

The API is described in issue #291.

I've tried to make as few changes to core as possible. The API cannot be easily made simpler as the route definitions go straight to Express and so you cannot simply pass the name as an argument to `app.get`.