model is a synonym for content. So, it can be everything you need for your route. It can be a record or some Ember Objects or even some Javascript objects. Normally you shouldnt concern yourself too much with instanciation (hope thats the right wording). Ember.data should do that for you. The only exception maybe is the createRecord method. If you are working without Ember data/model its different of course. I think thats why its confusing when reading the docs.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Should always `model` hook return a record / collection for given route? | 0 | 815 | January 21, 2016 | |
Beginner: Guidance on building CRUD | 13 | 4944 | April 22, 2014 | |
Understanding the relationships between models and routes, templates, and controllers
|
4 | 2006 | October 24, 2013 | |
Model in route template | 6 | 534 | January 18, 2021 | |
Add data to object - and use them in another route | 1 | 678 | April 25, 2019 |