Here is my Ember code: http://pastebin.com/Hb9HCyy6
Here is html: http://pastebin.com/kp195dFA
JSFiddle: http://jsfiddle.net/MBmUs/270/
Now even that stopped working lol I put that API online, when I access it with browser it works.
App.Store = DS.Store.extend({
revision:12,
adapter:DS.RESTAdapter.extend({
url:"http://galdikas.net/rest_api/book-store-restful-api/api"
})
});
Dont even know what to look for. But basically lets say I click on the "Admin area link", it takes me to the relevant area. But if I click back to "Back to store link", all the old data remains there, and model fetches same data again, and appends it to the old data. How would I tell it either not fetch any data if there is no new. Or if that is not possible, how would I tell it to simply overwrite the old data??