mirror of
https://github.com/fazo96/markcloud.git
synced 2025-03-31 00:08:38 +02:00
9 lines
146 B
CoffeeScript
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
|