I have a route like this:
App.PeopleRoute = Ember.Route.extend({ model: function() { return App.Persons.find(personId); } });
where personId loads asynchronously and is a regular JavaScript variable outside of Ember. Now that the route is displayed, it gets the current PersonId and displays the correct data. But when I change the value of personId, it does not update the view.
So my question is, how can I update this route to find entries with a new personId?
source share