jeudi 21 janvier 2016

How do I get an object out of query params in Ember 2?

In Ember 2, for a URL with a query string of ?q[a]=1&q[b]=2, how do I get those params in the controller?

I'm able to get a single string (q=foo) and an array (q[]=1&q[]=2), but I'm unable to get an object like mentioned above.




Aucun commentaire:

Enregistrer un commentaire