JackAdams / meteor-editable-text

Drop-in editable text widget for meteor

Home Page:http://editable-text-demo.taonova.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collections defined in a package are not detected

JackAdams opened this issue · comments

Taken from a comment by @rogchap in #25:

I have all my collections created in a local package (which is shared across multiple meteor apps), therefore dburles:mongo-collection-instances (which is used by this package) has no affect on my collections, causing the above/similar error when calling Mongo.Collection.get(<collection-name>).

Simple fix: add mongo-collection-instances to my local package's package.json:

api.use('dburles:mongo-collection-instances');