lundi 21 mars 2016

Accessing route params within an adapter with ember

I'm having issues accessing the current route params within an adapter. I've tried looking in the store and type objects that are passed in but have not been able to find anything.

I know I could use window.href.location to access the string of the url and do some manipulation to access the route param, however I'm not comfortable hardcoding that in because the url may change.




Aucun commentaire:

Enregistrer un commentaire