12345678910111213141516171819 |
- /**
- * @file
- *
- *
- * User: marand
- * Date: 30/08/15
- * Time: 11:53
- */
- Meteor.publish('posts', function() {
- return Posts.find();
- });
- Meteor.publish('comments', function(postId) {
- check(postId, String);
- return Comments.find({
- postId: postId
- });
- });
|