Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

matchSubPaths - wiki outdated #166

Open
henrikvs opened this issue Feb 14, 2016 · 1 comment
Open

matchSubPaths - wiki outdated #166

henrikvs opened this issue Feb 14, 2016 · 1 comment

Comments

@henrikvs
Copy link

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
Copy link
Member

@Route("/path/:subpath*")
String myRoute(String subpath) => subpath;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants