I am trying to get pagination into my website. When I look in the Ember debugger it shows I have 10 items inside the content property of a controller.
When I do App.__container__.lookup('controller:dashboard-all').get('data')
and App.__container__.lookup('controller:dashboard-all').get('content')
they both show an empty array as . I am also able to use the content in the pages template as {{#each controller}}
. It all shows. I also have a simple property like currentPage
. When I do App.__container__.lookup('controller:dashboard-all').get('currentPage')
it shows the right value. Does anybody see what I am doing wrong?