Fixed hidden middleware bug

This commit is contained in:
thosakwe 2016-06-23 16:11:40 -04:00
parent 12f8ffd7ae
commit d3b486b283
2 changed files with 2 additions and 3 deletions

View file

@ -70,8 +70,7 @@ class Routable extends Extensible {
new RegExp(r'(^\/+)|(\/+$)'), '')] = service;
_routable = service;
}
requestMiddleware.addAll(_routable.requestMiddleware);
for (Route route in _routable.routes) {
Route provisional = new Route('', path);
if (route.path == '/') {

View file

@ -1,5 +1,5 @@
name: angel_framework
version: 1.0.0-dev+1
version: 1.0.0-dev+2
description: Core libraries for the Angel framework.
author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_framework