1
0
mirror of https://github.com/fazo96/markcloud.git synced 2025-03-31 00:08:38 +02:00
markcloud/server/server.coffee
2014-10-04 09:39:07 +02:00

9 lines
146 B
CoffeeScript

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