mercredi 29 novembre 2017

EmberJS: Can I update a model from a service?

I'm trying to use a service, let's say for User Login session. I retrieve the user's info from the service.

Now I want to display this info - ideally using a model (user-profile).

My question is, in my service - can I set the user-profile model's attributes? So that my "profile-view" route can show the data in the user-profile model.




Aucun commentaire:

Enregistrer un commentaire