Can overwrite now...
This commit is contained in:
parent
8423fa4116
commit
7a699456d2
2 changed files with 2 additions and 4 deletions
|
@ -71,9 +71,7 @@ class Router extends Extensible {
|
||||||
result = existing;
|
result = existing;
|
||||||
}
|
}
|
||||||
} while (existing != null);
|
} while (existing != null);
|
||||||
} else
|
}
|
||||||
throw new RoutingException(
|
|
||||||
"Cannot overwrite existing route '${segments[0]}'.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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+4
|
version: 1.0.0-dev+5
|
||||||
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