fix(router): fix error message text

This commit is contained in:
Brian Ford 2015-10-26 13:58:00 +00:00
parent 07cdc2ff44
commit 280cd33f2e
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export class Router {
*/ */
registerPrimaryOutlet(outlet: RouterOutlet): Promise<boolean> { registerPrimaryOutlet(outlet: RouterOutlet): Promise<boolean> {
if (isPresent(outlet.name)) { if (isPresent(outlet.name)) {
throw new BaseException(`registerAuxOutlet expects to be called with an unnamed outlet.`); throw new BaseException(`registerPrimaryOutlet expects to be called with an unnamed outlet.`);
} }
this._outlet = outlet; this._outlet = outlet;