Service path

This commit is contained in:
regiostech 2016-04-28 21:10:29 -04:00
parent 0de6c5234f
commit 24fc679ed8
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class Routable extends Extensible {
} }
if (routable is Service) { if (routable is Service) {
services[path.toString()] = routable; services[path.toString().trim().replaceAll(new RegExp(r'(^\/+)|(\/+$)'), '')] = routable;
} }
} }

View file

@ -1,5 +1,5 @@
name: angel_framework name: angel_framework
version: 0.0.0-dev.7 version: 0.0.0-dev.8
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