Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Meteor.publish('clients', function( requestOptions ){
- check(requestOptions, Object)
- var options = _.extend(opts, requestOptions)
- return Clients.find(baseQuery, options)
- })
- Router.route('/clients', {
- name : 'clientList',
- waitOn : function(){
- return Meteor.subscribe('clients', {limit:500})
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement