There was an error while loading. Please reload this page.
1 parent cfedc77 commit c0adae6Copy full SHA for c0adae6
modules/angular2/src/router/router_link.ts
@@ -10,9 +10,9 @@ import {Location} from './location';
10
* Consider the following route configuration:
11
12
* ```
13
- * @RouteConfig({
14
- * path: '/user', component: UserCmp, as: 'user'
15
- * });
+ * @RouteConfig([
+ * { path: '/user', component: UserCmp, as: 'user' }
+ * ]);
16
* class MyComp {}
17
18
*
0 commit comments