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.
Written by Anto arun dominic
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Emberjs
Authors
Related Tags
#emberjs
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#