bigbluebutton-Github/bigbluebutton-html5/imports/api/polls/server/methods.js
2017-06-05 13:40:36 -03:00

8 lines
211 B
JavaScript

import { Meteor } from 'meteor/meteor';
import publishVote from './methods/publishVote';
import mapToAcl from '/imports/startup/mapToAcl';
Meteor.methods(mapToAcl(['methods.publishVote'], {
publishVote,
}));