mardi 29 mai 2018

Add local controller property to store models

I want to add a simple 'selected' property to store objects, just localised to the particular route/controller.

So in my controller I'm loading the 'groups' from the store. For each 'group' I want to add in a 'selected' property. Tried a few different approaches but just can't get it working.

Advice on "the ember way" would be much appreciated.




Aucun commentaire:

Enregistrer un commentaire