I have a route with a simple route handler that implements the model()
hook.
export default Ember.Route.extend({
model() {
return this.store.queryRecord('some-model', {});
}
});
I allow the user to transition to this route by clicking a link-to
.
How can I force ember re-query for the record from my backend every time the user enters this route? (And not just the first time the user loads this particular route)
Aucun commentaire:
Enregistrer un commentaire