Can overwrite now...

This commit is contained in:
thosakwe 2016-10-22 14:46:16 -04:00
parent 8423fa4116
commit 7a699456d2
2 changed files with 2 additions and 4 deletions

View file

@ -71,9 +71,7 @@ class Router extends Extensible {
result = existing;
}
} while (existing != null);
} else
throw new RoutingException(
"Cannot overwrite existing route '${segments[0]}'.");
}
}
}

View file

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