dimanche 6 novembre 2016

Can I get the default template name from my route when I use renderTemplate?

I'll use renderTemplate to place my modal at the application level. I'd prefer it if I could get the default tempalte name instead of plush-toys.item.info.

renderTemplate() {
  this.render('plush-toys.item.info', {
    into: 'application',
    outlet: 'modal'
  });
}

How can I get it from the route?




Aucun commentaire:

Enregistrer un commentaire