Source
Middleware toHandler(Function method, [String fallbackPath]) {
return Route.match(methods, path ?? fallbackPath, handler(method));
}
Middleware toHandler(Function method, [String fallbackPath]) {
return Route.match(methods, path ?? fallbackPath, handler(method));
}