zhao/imports/api/publications/links.js
2020-11-26 23:33:53 -06:00

6 lines
151 B
JavaScript

import { Meteor } from 'meteor/meteor';
import Links from '../collections/Links.js';
Meteor.publish('links', function () {
return Links.find();
});