redstone-dart / redstone

A metadata driven microframework for Dart.
http://redstone-dart.github.io/redstone
MIT License
342 stars 42 forks source link

matchSubPaths - wiki outdated #166

Open henrikvs opened 8 years ago

henrikvs commented 8 years ago

The wiki mentions the matchSubPaths property for routes, but the property seems to have been removed some time ago.

The changelog mentions: Removed Route.matchSubPaths property (route_hierarchical supports this by default now)

How can this be done with route_hierarchical within the Route annotation? I can't figure it out.

luizmineo commented 8 years ago
@Route("/path/:subpath*")
String myRoute(String subpath) => subpath;