ember-cli-pagination icon indicating copy to clipboard operation
ember-cli-pagination copied to clipboard

Refresh model after subroute updates store

Open lllama opened this issue 8 years ago • 2 comments

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?

lllama avatar Jul 21 '16 22:07 lllama

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

lllama avatar Jul 26 '16 08:07 lllama

Thank you, you saved my day! :+1:

firstsano avatar May 04 '17 11:05 firstsano