picture display ready

This commit is contained in:
Senad Uka
2016-10-08 16:02:59 +02:00
parent d469c91e3e
commit 4b2b9526de
10 changed files with 97 additions and 22 deletions

View File

@@ -16,3 +16,11 @@ Meteor.publish("controller_state", function(controllerId) {
controller_id: controllerId
});
});
// This code only runs on the server
Meteor.publish("pictures", function(controllerId) {
return Picture.find({
controller_id: controllerId
});
});