This commit is contained in:
thosakwe 2016-11-27 18:58:55 -05:00
parent 68662b149e
commit e8265f3863
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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);

View file

@ -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: