@jesmith wrote:
I need to create a service that does data retrieval as it is data that will be used across mutliple routes (user-profile data).
I have a service created, and I have the ember-data store injected into it, but calls to the service from my components don't seem to trigger the data retrieval? I find lots of people alluding to this approach, but no examples of how it's done.
Does anyone have an example of a service being used to consume data from ember-data and make it accessible via a component?
I know routable components coming at some point makes this better, but I don't have any dates on when that is coming, and I need this functionality quickly.
Posts: 2
Participants: 2