Skip to content

Commit 3154cea

Browse files
committed
docs(router): alias should be as
1 parent ac3e624 commit 3154cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/angular2/src/router/router_link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {Location} from './location';
1717
1818
* ```
1919
* @RouteConfig({
20-
* path: '/user', component: UserCmp, alias: 'user'
20+
* path: '/user', component: UserCmp, as: 'user'
2121
* });
2222
* class MyComp {}
2323
* ```

0 commit comments

Comments
 (0)