Hello everyone.
I’m trying to render my template with articles (blog posts) on my main page, doing it this way:
App.IndexRoute = Ember.Route.extend({
renderTemplate: function () {
this.render('articles');
}
});
Well, it’s rendering ‘articles’ template, but this doesn’t calling (firing) a model: function() {...}
hook in App.ArticlesRoute
, so it doesn’t loading a “model data related” part of template.
Please help me how can I render all the template from another route?