dimanche 31 janvier 2016

EmberData, how do i prepend an object into the store after save, instead of appending it?

As the title say, after save a new model, how do i prepend in the store instead of appending?

Right now, creating a record will push the new object in the store, at the end of the existing objects. I need to push it at the start, how do you do that?




Aucun commentaire:

Enregistrer un commentaire