Meteor.publish("singleProject", function (projectId) {
  // Return a cursor with a single project
  // using the projectId as an argument
  return Projects.find({ _id: projectId });
});

Meteor.publish("allProjects", function () {
  // Return a cursor with all projects
  return Projects.find();
});


Meteor.publish("singleProject", function (projectId) {
  // Return a cursor with a single project
  // using the projectId as an argument
  return Projects.find({ _id: projectId });
});

Add allProjects publication