dimanche 3 avril 2016

Ember.js: How to access a route programmatically

As controllers are deprecated in Ember I try to get rid of them in my applications. So in all cases where I used the rout's method getControllerFor('nameOfTheRoute') to access other controller's methods or properties I now would like to call something like getRouteFor('nameOfTheRoute') but this method does not exists. So what can I do to access other routes. I would be very thankful for any suggestion.




Aucun commentaire:

Enregistrer un commentaire