vendredi 1 avril 2016

Call Router.generate from a helper

I need to generate the url for given route from a helper.

How to generate url for a route in Ember.js pointed me to use the generate function. And yes it works as i need (Checked the functionality by making application route global). But i am not sure how to call it from inside a helper.




Aucun commentaire:

Enregistrer un commentaire