@emberr wrote:
Hi, i am new to ember.I am trying to build this little app where posts belongs to user and also have many comments.
In my posts/post.hbs i have
{{model.user.username}} {{#each model.comments as |comment|}} {{comment.body}} {{/each}}
Problem here is, let's say i visit "myapp/posts/12" , it doesn't show user's username nor comments unless i visit users route or comments route separately.It doesn't fetch posts user or comments unless i visit those routes. How can i solve this?
I tried addin' asyn:true and async:false option on both corresponding models.
!!!Side question: Is there a backend framework which can be referred to as "best fit for ember" ? & What libraris&add-ons should i use for it?
Posts: 1
Participants: 1