From c0adae69ac33062b2668b1d87a8dcefba28127fb Mon Sep 17 00:00:00 2001 From: mgechev Date: Thu, 2 Jul 2015 22:30:18 +0300 Subject: [PATCH] docs(Router): router config Closes #2853 --- modules/angular2/src/router/router_link.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/angular2/src/router/router_link.ts b/modules/angular2/src/router/router_link.ts index 05d86bf468..53356a4d34 100644 --- a/modules/angular2/src/router/router_link.ts +++ b/modules/angular2/src/router/router_link.ts @@ -10,9 +10,9 @@ import {Location} from './location'; * Consider the following route configuration: * ``` - * @RouteConfig({ - * path: '/user', component: UserCmp, as: 'user' - * }); + * @RouteConfig([ + * { path: '/user', component: UserCmp, as: 'user' } + * ]); * class MyComp {} * ``` *