So I'm inside of an Ember child route, attendee.search
.
And I have a button there than transitions back to attendee.index
.
I need to reset the content of the attendee list when the transition occurs, but neither setupController
, model
, nor redirect
are called when going from a child route to its parent.
How can I run a function every time a user lands on the attendee
route?
Use the deactivate
hook on App.AttendeeSearchRoute
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With