Closed OzzieOrca closed 10 years ago
Redstone.dart v0.5.12 adds this feature.
To assign the requested subpath to a parameter, you need to add a trailing *
character to the url template. See the wiki for more details.
If you have problems or doubts, please let me know.
You're awesome! Thanks for adding that so quickly :) It works great.
I would like to have a route where everything past the base route would be included in the parameter, slashes and all. An example API might be:
where a request such as
GET: /api/pages/categoryName/pageName
would match this route and return the responsecategoryName/pageName
.An example implementation of this in AngularDart is at https://github.com/angular/route.dart/pull/55