Closed vraptor75011 closed 11 years ago
I have :
posts.blade :
foreach posts as post include 'post' exposing post
post.blade :
- console.log(post)
And i get an error : post undefined
Any ideas ?
Posts is a meteor collection = Posts.find() and if I log post in posts.blade I get
Object {title: "aut,fugit,a", _id: LocalCollection._ObjectID} _id: LocalCollection._ObjectID title: "aut,fugit,a" proto: Object
Thanks for the report. Just by looking at the source, this looks like this is an oversight on my part. I am currently investigating...
I have :
posts.blade :
post.blade :
And i get an error : post undefined
Any ideas ?
Posts is a meteor collection = Posts.find() and if I log post in posts.blade I get
Object {title: "aut,fugit,a", _id: LocalCollection._ObjectID} _id: LocalCollection._ObjectID title: "aut,fugit,a" proto: Object