Formatting
This commit is contained in:
parent
00e861adbc
commit
decd4b56e7
2 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,8 @@ class Controller {
|
|||
}
|
||||
|
||||
/// Applies the routes from this [Controller] to some [router].
|
||||
Future<String> applyRoutes(Router<RequestHandler> router, Reflector reflector) async {
|
||||
Future<String> applyRoutes(
|
||||
Router<RequestHandler> router, Reflector reflector) async {
|
||||
// Load global expose decl
|
||||
var classMirror = reflector.reflectClass(this.runtimeType);
|
||||
Expose exposeDecl = findExpose(reflector);
|
||||
|
|
|
@ -96,8 +96,7 @@ class HostnameRouter {
|
|||
// app.dumpTree();
|
||||
|
||||
var r = app.optimizedRouter;
|
||||
var resolved =
|
||||
r.resolveAbsolute(req.path, method: req.method);
|
||||
var resolved = r.resolveAbsolute(req.path, method: req.method);
|
||||
var pipeline = MiddlewarePipeline<RequestHandler>(resolved);
|
||||
// print('Pipeline: $pipeline');
|
||||
for (var handler in pipeline.handlers) {
|
||||
|
|
Loading…
Reference in a new issue