added publication
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.zoblak.farmalarm;
|
||||
|
||||
/**
|
||||
* Created by senadu on 11/14/16.
|
||||
*/
|
||||
|
||||
public class ZoblakClient {
|
||||
}
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user