+3
This commit is contained in:
parent
06b6096f03
commit
014892cba5
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ class Router extends Extensible {
|
||||||
return new Route('/', debug: debug, handlers: handlers, method: method)
|
return new Route('/', debug: debug, handlers: handlers, method: method)
|
||||||
..debug = debug;
|
..debug = debug;
|
||||||
} else {
|
} else {
|
||||||
result = resolve(segments[0]);
|
result = resolve(segments[0], filter: (route) => route.method == method);
|
||||||
|
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
if (segments.length > 1) {
|
if (segments.length > 1) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: angel_route
|
name: angel_route
|
||||||
description: A powerful, isomorphic routing library for Dart.
|
description: A powerful, isomorphic routing library for Dart.
|
||||||
version: 1.0.0-dev+2
|
version: 1.0.0-dev+3
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/angel_route
|
homepage: https://github.com/angel-dart/angel_route
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
|
Loading…
Reference in a new issue