ember-cli-pagination
ember-cli-pagination copied to clipboard
Refresh model after subroute updates store
I have an 'add new' route that is a subroute of an paged index view. When I add a new record to the store, I transition back to the index route but the paged content is not updated. Is there a way to force a refresh when the transition happens?
I've solved this by sending calling an action on the parent route that calls refresh()
. Not sure whether there is a blessed way to achieve the same but this works in my case
Thank you, you saved my day! :+1: