fix(router): router link should navigate to non-base Url.

While still displaying full base + custom part of url in the href.
This commit is contained in:
Rado Kirov
2015-05-19 23:14:10 -07:00
parent 826af401a9
commit c45283216f
3 changed files with 70 additions and 26 deletions

View File

@ -45,7 +45,8 @@ export class SpyLocation extends SpyObject {
}
go(url:string) {
if (this._path === url) {
url = this.normalizeAbsolutely(url);
if (this._path == url) {
return;
}
this._path = url;