This commit is contained in:
thosakwe 2016-10-22 14:35:04 -04:00
parent b0b804f409
commit 06b6096f03
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class Router extends Extensible {
Route existing;
do {
existing = result.resolve(segments[0]);
existing = result.resolve(segments[0], filter: (route) => route.method == method);
if (existing != null) {
result = existing;

View file

@ -1,6 +1,6 @@
name: angel_route
description: A powerful, isomorphic routing library for Dart.
version: 1.0.0-dev+1
version: 1.0.0-dev+2
author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_route
dev_dependencies: