mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
4 lines
No EOL
184 B
JavaScript
4 lines
No EOL
184 B
JavaScript
Template.comment_page.post = function(){
|
|
var selectedComment = Comments.findOne(Session.get('selectedCommentId'));
|
|
return selectedComment && Posts.findOne(selectedComment.post);
|
|
}; |