Vulcan/client/views/comments/comment_reply.js
2014-07-05 16:21:28 +09:00

17 lines
No EOL
404 B
JavaScript

Template[getTemplate('comment_reply')].helpers({
post_item: function () {
return getTemplate('post_item');
},
comment_item: function () {
return getTemplate('comment_item');
},
comment_form: function () {
return getTemplate('comment_form');
},
post: function () {
if(this.comment){ // XXX
var post = Posts.findOne(this.comment.postId);
return post;
}
}
});