Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
9 rindas
221 B
9 rindas
221 B
Template.userPage.onRendered(function (){
|
|
this.subscribe("userById",Router.current().params._id)
|
|
})
|
|
|
|
Template.userPage.helpers({
|
|
user: function (){
|
|
return User.findOne(Router.current().params._id)
|
|
}
|
|
})
|