選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
|
Template.userPage.onRendered(function (){
|
|
this.subscribe("userById",Router.current().params._id)
|
|
})
|
|
|
|
Template.userPage.helpers({
|
|
user: function (){
|
|
return User.findOne(Router.current().params._id)
|
|
}
|
|
})
|