Vulcan/client/views/comments/comment_reply.js

17 lines
404 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');
},
2014-07-05 16:21:28 +09:00
comment_form: function () {
return getTemplate('comment_form');
},
post: function () {
2014-07-05 16:21:28 +09:00
if(this.comment){ // XXX
var post = Posts.findOne(this.comment.postId);
return post;
}
}
});