I find a method for get model length.
I tried to use findAll method.
```
export default Ember.Route.extend({
model() {
console.log("CHECK MODEL");
let texts = this.store.findAll('text');
}
});
```
why return 0?
How can I get a model length with out using findAll method?
Aucun commentaire:
Enregistrer un commentaire