mardi 3 mars 2015

transitionToRoute reloading the model

How can I transition to a route and tell Ember to reload the model for that route?


My use case:

The page I am on is for an appointment. After I cancel the appointment I need to transition to the /schedule route showing all the appointments except for the one I just canceled.


When I use transitionToRoute the canceled appoitment is still in the list. I then have to reload the browser page to see the new list.





Aucun commentaire:

Enregistrer un commentaire