Ember.js - How to handle URL parameters when location history is enabled?

I port the Ember.js application from location hashto history, in several places I use ?some-parameter=awesomein the URL.

When historyenabled, Ember simply removes all parameters from the URL, for example, when you go to /some-route?some-paramEmber it removes ?some-paramfrom the browser URL!

How to solve this problem and why?

+4
source share
1 answer

If these request parameters are not specified on the route, Ember will not create a URL using them.

http://emberjs.com/guides/routing/query-params/

+4
source

All Articles