From 79c23d0965303958173551d41cb49737594d7967 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Sun, 30 Aug 2015 21:37:21 +0800 Subject: [PATCH] Update publish.js.es6 give a clear description for Meteor pulish --- lib/templates/app/server/publish.js.es6 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/templates/app/server/publish.js.es6 b/lib/templates/app/server/publish.js.es6 index e69de29..1a97deb 100644 --- a/lib/templates/app/server/publish.js.es6 +++ b/lib/templates/app/server/publish.js.es6 @@ -0,0 +1,5 @@ +// A place to put your publishes +// Publish the logged in user's posts +// Meteor.publish('posts', function () { +// return Posts.find({ createdBy: this.userId }); +// });