mirror of
https://github.com/fazo96/markcloud.git
synced 2025-01-26 13:34:19 +01:00
10 lines
184 B
CoffeeScript
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
|