1
0
mirror of https://github.com/fazo96/markcloud.git synced 2025-01-26 13:34:19 +01:00
markcloud/server/server.coffee
2014-10-04 10:11:08 +02:00

10 lines
184 B
CoffeeScript

docs = new Meteor.Collection 'docs'
Meteor.publish 'doc', (id) -> docs.find _id: id
Meteor.publish 'docs', -> docs.find()
docs.allow
insert: -> yes
update: -> no
remove: -> no