3 ms·
Your examples are incorrect. The Route's model is set as the content of the controller, so all you need to say is #each item in content. Your model is set as
by terbanator 14y ago
Your examples are incorrect. The Route's model is set as the content of the controller, so all you need to say is #each item in content. Your model is set as the "content" of your controller, so your model is not "nowhere to be found"
- terbanator 14y agohttp://jsfiddle.net/sgterban/kDqBs/ http://jsfiddle.net/sgterban/kDqBs/ - Example
- drogus 14y agoYou should use {{#each item in controller}}, otherwise you won't get things like sorting of filtering right. Yes, content is an underlying array, but controller may present it differently (filter out, sort, paginate etc.).
- twinturbo 14y agocontent is wrong. You should be using controller. This works with arrangedContent. {{each content}} will not work with anything like SortableMixin.