16
This commit is contained in:
parent
68662b149e
commit
e8265f3863
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# angel_route
|
||||
|
||||
![version 1.0.0-dev+15](https://img.shields.io/badge/version-1.0.0--dev+15-red.svg)
|
||||
![version 1.0.0-dev+16](https://img.shields.io/badge/version-1.0.0--dev+16-red.svg)
|
||||
![build status](https://travis-ci.org/angel-dart/route.svg)
|
||||
|
||||
A powerful, isomorphic routing library for Dart.
|
||||
|
|
|
@ -49,7 +49,7 @@ class Router extends Extensible {
|
|||
// Check if any mounted routers can match this
|
||||
final handlers = [handler];
|
||||
|
||||
if (middleware != null) handlers.addAll(middleware);
|
||||
if (middleware != null) handlers.insertAll(0, middleware);
|
||||
|
||||
final route =
|
||||
new Route(path, debug: debug, method: method, handlers: handlers);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: angel_route
|
||||
description: A powerful, isomorphic routing library for Dart.
|
||||
version: 1.0.0-dev+15
|
||||
version: 1.0.0-dev+16
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_route
|
||||
dev_dependencies:
|
||||
|
|
Loading…
Reference in a new issue