@davidpmccormick wrote:
I want a reload button to appear at the top of every page in my app, so I think it makes sense to have the UI for it in the application.hbs template. The purpose of the button is to refresh the current route's model.
But in order to refresh the model for the current route, the button needs to be able to communicate with the current route (to call
this.refresh();
).What is a good way to accomplish this?
Posts: 1
Participants: 1