From 280cd33f2e8655fe5634503c74fdc0b7b6fe0166 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Mon, 26 Oct 2015 13:58:00 +0000 Subject: [PATCH] fix(router): fix error message text --- modules/angular2/src/router/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/router/router.ts b/modules/angular2/src/router/router.ts index 578b08d397..d0a3413ce3 100644 --- a/modules/angular2/src/router/router.ts +++ b/modules/angular2/src/router/router.ts @@ -87,7 +87,7 @@ export class Router { */ registerPrimaryOutlet(outlet: RouterOutlet): Promise { 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;