configureRoutes method
Used to add additional routes or middlewares to the router from within
a Controller
.
@override
FutureOr<void> configureRoutes(Routable routable) {
routable.all('*', myMiddleware);
}
Implementation
FutureOr<void> configureRoutes(Routable routable) {}