I'm trying to wrap my head around the event sequence of transitionTo calls in ember.
My router looks as follows:
App.Router.map(function() {
this.resource('store', {path: 'store/:store_id'} , function(){
this.route("index", { path: "/" });
this.resource('client', function(){
this.route("signout");
});
});
});
During sign out I clear out everything and then transitionTo back to store.index however nothing gets refreshed when I do this and neither the model, nor setupController hook of StoreIndexRoute are recalled.
What is the best way to get StoreIndexRoute to reset itself?
Also any resources that explain the sequence of these events would be awesome.