bigbluebutton-Github/bigbluebutton-html5/imports/api/polls/server/methods.js

8 lines
211 B
JavaScript
Raw Normal View History

2016-10-21 21:21:09 +08:00
import { Meteor } from 'meteor/meteor';
2017-10-12 08:33:57 +08:00
import publishVote from './methods/publishVote';
2017-06-01 01:54:43 +08:00
import mapToAcl from '/imports/startup/mapToAcl';
2016-10-21 21:21:09 +08:00
2017-06-06 00:40:36 +08:00
Meteor.methods(mapToAcl(['methods.publishVote'], {
2017-10-12 08:33:57 +08:00
publishVote,
2017-06-01 01:54:43 +08:00
}));