forgot to publish the Shapes collection

This commit is contained in:
Anton Georgiev 2014-07-07 20:31:18 +00:00
parent 4adef66799
commit 86e90bbdef
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Router.map ->
Meteor.subscribe 'users', Session.get('meetingId') Meteor.subscribe 'users', Session.get('meetingId')
Meteor.subscribe 'chat', Session.get('meetingId') Meteor.subscribe 'chat', Session.get('meetingId')
Meteor.subscribe 'shapes', Session.get('meetingId') Meteor.subscribe 'shapes', Session.get('meetingId')
@
onBeforeAction: ()-> onBeforeAction: ()->
url = location.href url = location.href

View File

@ -5,3 +5,6 @@ Meteor.publish 'users', (meetingId) ->
Meteor.publish 'chat', (meetingId) -> Meteor.publish 'chat', (meetingId) ->
Meteor.Chat.find({meetingId: meetingId}) Meteor.Chat.find({meetingId: meetingId})
Meteor.publish 'shapes', (meetingId) ->
Meteor.Shapes.find({meetingId: meetingId})