I'm trying to build a view that is going to display multiple models and aggregated data.
After doing some reading in the docs, the {{render}}
helper is probably the right way to build a view like this. For setting the model normally I'd just set up a Route in which I pass the needed model data:
App.BuildingsRoute = Ember.Route.extend({
model: function() {
return this.store.find('buildings', '1');
}
});
But if I include a template via the {{render}}
helper, the route is not called. I'd like to know how I can pass the different models for each {{render}}
helper independently form each other, including first filtering the model?