fix(RouterLink): ignore optional parameters when checking for active routes

fixes #6459
Closes #7834
This commit is contained in:
Victor Berchet
2016-03-30 11:26:31 -07:00
parent 28e657d857
commit 5e2bc5c593
6 changed files with 32 additions and 10 deletions

View File

@ -259,7 +259,7 @@ export function main() {
async.done();
});
router.navigateByUrl('/better-child');
router.navigateByUrl('/better-child?extra=0');
});
}));
@ -300,7 +300,7 @@ export function main() {
async.done();
});
router.navigateByUrl('/child-with-grandchild/grandchild');
router.navigateByUrl('/child-with-grandchild/grandchild?extra=0');
});
}));