In a route, I would like my model ,where I called this.get('store')
, to be dependent of a service. So when one of my value in the service changes, my model will be automatically refreshed.
I don't know if this is possible with a service and if it is a good practice.
Aucun commentaire:
Enregistrer un commentaire