Vulcan/client/views/comments/comment_reply.js

12 lines
297 B
JavaScript
Raw Normal View History

2014-07-05 11:24:28 +09:00
Template[getTemplate('comment_reply')].helpers({
2014-07-05 11:42:28 +09:00
post_item: function () {
return getTemplate('post_item');
},
comment_item: function () {
return getTemplate('comment_item');
},
post: function () {
2014-05-08 15:35:47 +09:00
if(this.comment) // XXX
return Posts.findOne(this.comment.post);
}
});