-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes routes and collections boilerplate
- Loading branch information
1 parent
8e9a5c4
commit 766faf5
Showing
3 changed files
with
27 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
import { Mongo } from 'meteor/mongo' | ||
|
||
export const Events = new Mongo.Collection('events') | ||
export const Coverages = new Mongo.Collection('coverages') | ||
export const Messages = new Mongo.Collection('messages') | ||
export const CollectionName = new Mongo.Collection('collectionName'); | ||
|
||
const collections = Mongo.Collection.getAll() | ||
console.log(collections) | ||
|
||
// collections.allow({ | ||
// insert: () => false, | ||
// update: () => false, | ||
// remove: () => false, | ||
// }) | ||
|
||
// collections.deny({ | ||
// insert: () => true, | ||
// update: () => true, | ||
// remove: () => true, | ||
// }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters