|
@@ -17,7 +17,7 @@ Meteor.publish("documents", function () {
|
|
|
Meteor._debug("Publishing documents");
|
|
|
return Documents.find({
|
|
|
$or: [
|
|
|
- { isPrivate: { $ne: true } },
|
|
|
+ { isPrivate: { $ne: true } },
|
|
|
{ owner: this.userId }
|
|
|
]
|
|
|
});
|
|
@@ -28,3 +28,8 @@ Meteor.publish("editingUsers", function () {
|
|
|
Meteor._debug("Publishing all editingUsers");
|
|
|
return EditingUsers.find();
|
|
|
});
|
|
|
+
|
|
|
+Meteor.publish("comments", function () {
|
|
|
+ Meteor._debug("Publishing comments");
|
|
|
+ return Comments.find();
|
|
|
+});
|