sproutcore/sproutcore-routing — pull request #5 by blt04 (2011-11-29 06:21:55+00:00)
Title: Routes don't match dynamic route if first part matches static route

If we have two routes like:

/products/fake/route
/:controller/:action

a route such as `/products/foo` will not match any route. The first part of the route matches `products` but the rest of the path does not match. Instead of continuing to try dynamic routes, `null` is returned.

The attached pull request continues to test dynamic and wildcard routes if a static route does not match all parts.