Last Updated: August 20, 2016
·
802
· antoarundominic

Reset Ember Query param using link-to/query-params helper

To remove ember's query params from route with link-to helper, just pass the param as "undefined".
{{ #link-to 'posts' (query-params userId="undefined") }} posts {{/link-to}}

Tested in ember version 2.3.