2016-10-21 21:21:09 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
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-01 01:54:43 +08:00
|
|
|
Meteor.methods(mapToAcl({
|
2016-10-21 21:21:09 +08:00
|
|
|
publishVote,
|
2017-06-01 01:54:43 +08:00
|
|
|
}));
|