Shopify/batman — pull request #301 by hornairs (2012-01-10 20:08:59+00:00)
Title: Refactor routing system

- Factor out Batman.RouteMap and Batman.RouteMapBuilder into seperate
classes
- Have Batman.App delegate the route building DSL methods to a
RouteMapBuilder
- Expose useful pathFromParams and paramsFromPath functions on Route
- Store Route instances in RouteMap under named keys in preparation for
named routes
- Rework nested resources support to be far more stable
- Remove awkward "@member -> @route 'foo'" syntax in favour of
"@member 'foo'". Breaking change.

Closes #287.