@andrew1 wrote:
Hi everyone,
We have some constant data that we need to load from the server once when our Ember app boots. This is basic stuff like the copy for our error messages, etc... The reason we don't hard code this in the Ember app is that we want our marketing team to own the copy in their CRM.
What's the best way to load this data in? Basically, I want to do a
this.store.findAll('constants')
to initialize the constants service that will be used in the rest of the app.Any help would be greatly appreciated.
Thanks!
Posts: 6
Participants: 3