parent
84d1f93d83
commit
de6774cd97
@ -26,7 +26,7 @@ import {Url} from './url_parser';
|
|||||||
*
|
*
|
||||||
* @Component({ template: 'user: {{id}}' })
|
* @Component({ template: 'user: {{id}}' })
|
||||||
* class UserCmp {
|
* class UserCmp {
|
||||||
* string: id;
|
* id: string;
|
||||||
* constructor(params: RouteParams) {
|
* constructor(params: RouteParams) {
|
||||||
* this.id = params.get('id');
|
* this.id = params.get('id');
|
||||||
* }
|
* }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user