Skip to content

Commit c0adae6

Browse files
mgechevmhevery
authored andcommitted
docs(Router): router config
Closes angular#2853
1 parent cfedc77 commit c0adae6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/angular2/src/router/router_link.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import {Location} from './location';
1010
* Consider the following route configuration:
1111
1212
* ```
13-
* @RouteConfig({
14-
* path: '/user', component: UserCmp, as: 'user'
15-
* });
13+
* @RouteConfig([
14+
* { path: '/user', component: UserCmp, as: 'user' }
15+
* ]);
1616
* class MyComp {}
1717
* ```
1818
*

0 commit comments

Comments
 (0)