How to access query parameters from route in Ember?

Posted by Andre Scott | Updated on

Want to access query parameters from route in Ember? Pretty sure it’s a bug, but you can access them in the meantime via the transition object:

In the latest version of ember (2.12 at the time of writing this answer), queryParams can be accessed in the model hook as follows:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers