mercredi 13 mars 2019

Refresh ember model

I have a simple route calling

model: function(params) {
  return this.store.find("booking", params.booking_id);
},

When the route is visited, changes can be made, and I want them to be reset the next time the page is visited during the same session, unless they have been saved. The simple operation of refreshing the data once obtained with { reload: true } now doesn't seem to have an easy, straightforward alternative.

How do I do this? Thank you.




Aucun commentaire:

Enregistrer un commentaire