import { Meteor } from 'meteor/meteor' ; import { Todos } from '../../../imports/collections/todos' ; Meteor . methods ( { addTodo ( content ) { Todos . insert ( { content } ) ; } , removeTodo ( _id ) { Todos . remove ( { _id } ) ; } } ) ;