Reputation: 7919
In my application i have button and want when user click on this my Application Completing Reset that means clear/empty model session or any data that will created . according to this topic i try App.reset()
but it dose not work.
Upvotes: 0
Views: 990
Reputation: 47367
OlapApp.Reset()
resets Ember.
store.unloadAll(type)
empties out all of that type in the Data store.
Upvotes: 2