mercredi 15 avril 2015

emberjs model gets lost in controller

Ember does great adding in the defaults for you. But what happens when you have to override the default controller?


Consider the following example: data passes, then it does not


As you can see in the example, if you click 'account' you are presented with two sets addresses, 2 that pass the address value, and 2 that do not.


I guess I"m having trouble figuring out how to get the model data from the route for AccountEdit and pass it into the controller so it will show up in the form.


Aucun commentaire:

Enregistrer un commentaire