Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Methods - Groups
- Meteor.methods({
- addGroup: function(doc) {
- var id = Groups.insert(doc);
- console.log("Added group with ID#" + id + " to database. (" + doc.name + ")");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement