diff --git a/lib/src/router.dart b/lib/src/router.dart index a24d4878..274ebf58 100644 --- a/lib/src/router.dart +++ b/lib/src/router.dart @@ -71,9 +71,7 @@ class Router extends Extensible { result = existing; } } while (existing != null); - } else - throw new RoutingException( - "Cannot overwrite existing route '${segments[0]}'."); + } } } diff --git a/pubspec.yaml b/pubspec.yaml index 26dd02b8..affb431c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 homepage: https://github.com/angel-dart/angel_route dev_dependencies: