Fixed character sheet having undefined data context on refresh

Added waitOn subscriptions and required publications. Expect a warning about autopublish now.
This commit is contained in:
Thaum
2014-11-05 12:35:50 +00:00
parent 1761d71391
commit 5e0a912d21
3 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
Meteor.publish("characterList",function(userId){
//TODO also return characters this user can view
return Characters.find({owner: userId});
});