Closed austincummings closed 9 years ago
You can't use a wrapper to create a route, it can only be applied to existing routes.
It's possible to search for functions annotated with your custom annotation, and create routes for them, although, you'll need to implement the parameter binding yourself.
Hi @luizmineo,
I'm trying to use
addRouteWrapper
to create shorthand route declarations. Ideally I would like to use them like so...Right now I just have this and I can not get any further. No route is created, surely I'm using this wrong. Any help would be greatly appreciated.