perak / kitchen-examples

Meteor Kitchen examples
164 stars 115 forks source link

ide example: support for public projects? #28

Closed whatsdis closed 8 years ago

whatsdis commented 8 years ago

how would you go about creating the ability to make a project public?

whatsdis commented 8 years ago

silly me just do in publish/projects.js

return Projects.find({$or: [ {createdBy:this.userId}, {public:true} ]}, {});