Fixed hidden middleware bug
This commit is contained in:
parent
12f8ffd7ae
commit
d3b486b283
2 changed files with 2 additions and 3 deletions
|
@ -70,8 +70,7 @@ class Routable extends Extensible {
|
||||||
new RegExp(r'(^\/+)|(\/+$)'), '')] = service;
|
new RegExp(r'(^\/+)|(\/+$)'), '')] = service;
|
||||||
_routable = service;
|
_routable = service;
|
||||||
}
|
}
|
||||||
|
|
||||||
requestMiddleware.addAll(_routable.requestMiddleware);
|
|
||||||
for (Route route in _routable.routes) {
|
for (Route route in _routable.routes) {
|
||||||
Route provisional = new Route('', path);
|
Route provisional = new Route('', path);
|
||||||
if (route.path == '/') {
|
if (route.path == '/') {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel_framework
|
name: angel_framework
|
||||||
version: 1.0.0-dev+1
|
version: 1.0.0-dev+2
|
||||||
description: Core libraries for the Angel framework.
|
description: Core libraries for the Angel framework.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/angel_framework
|
homepage: https://github.com/angel-dart/angel_framework
|
||||||
|
|
Loading…
Reference in a new issue