Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Refresh current route's model from application template

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles