I am very new to Emberjs.
I would like to create a temporary instance of a model (Customer) for use in my "customer.create" route. However I don't want it to be added to the store. Is there a way to do this?
Currently I am doing this:
model: function(){
return {
firstName:'', lastName:'', title: ''
};
},
but I would like to use methods within the actual model.
Aucun commentaire:
Enregistrer un commentaire