docs(Router): router config

Closes #2853
This commit is contained in:
mgechev 2015-07-02 22:30:18 +03:00 committed by Misko Hevery
parent cfedc77ce1
commit c0adae69ac
1 changed files with 3 additions and 3 deletions

View File

@ -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 {}
* ```
*