Do you think that its is useful to allow the render function to take a component as a view to render ?
for example
App.PostRoute = App.Route.extend({
renderTemplate: function() {
this.render('my-component', { // the template to render
into: 'index', // the template to render into
outlet: 'comments', // the name of the outlet in that template
controller: 'blogPost' // the controller to use for the template
});
}
});
If you think it is useful maybe someone ( or myself ) could take a stab at a PR.