Open Viktorminator opened 9 years ago
Please add next:
When you launch code on server
Meteor.publish('posts', function() { return Posts.find({flagged: false}); });
you must change your fixture file fixture.js (to add flagged: false field):
if (Posts.find().count() === 0) { Posts.insert({ title: 'Introducing Telescope', author: 'Sasha Greif', url: 'http://sachagreif.com/', flagged: false }); }
And make meteor reset command in Terminal.
Please add next:
When you launch code on server
you must change your fixture file fixture.js (to add flagged: false field):
And make meteor reset command in Terminal.