jeudi 28 juillet 2016

How to convert a path to its matching route name in Ember

Let's say that I have a path like /posts. Is there a module within Ember that I can use to plug in that path and get back routing data?

The ultimate goal is to receive the path and transition to the route that matches the path.

It seems like this should be possible because Ember itself needs to do this when it's reading in the URL.




Aucun commentaire:

Enregistrer un commentaire