mardi 21 avril 2015

Emberjs: Get Current Controller on template

how do I could get the currentController from the template?

I want to do is generate a component that can obtain the currentController based on a single outlet with different route

In a way controller.controllerFor( controller.currentPath );

but on the template {{controller.controllerFor controller.currentPath }}

Only can obtain the application controller




Aucun commentaire:

Enregistrer un commentaire