added publication

This commit is contained in:
Senad Uka
2016-11-14 14:24:37 +01:00
parent 319c0b6906
commit ce71854ab1
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package com.zoblak.farmalarm;
/**
* Created by senadu on 11/14/16.
*/
public class ZoblakClient {
}

View File

@@ -17,6 +17,10 @@ Meteor.publish("controller_state", function(controllerId) {
});
});
Meteor.publish("all_controller_states", function() {
return ControllerState.find({});
});
// This code only runs on the server
Meteor.publish("pictures", function(controllerId) {