Vulcan/client/views/comments/comment_page.js

11 lines
266 B
JavaScript
Raw Normal View History

2014-07-05 11:24:28 +09:00
Template[getTemplate('comment_page')].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 () {
return Posts.findOne(this.comment.post);
}
});