I’m trying to display the items in an
ArrayController using the simple example in the API docs, but with sorting enabled. So far I’ve got this: https://gist.github.com/mjijackson/222cd4105fc516d9f9a4
However, when I run the page I get the following error:
Assertion failed: an Ember.CollectionView’s content must implement Ember.Array. You passed <(generated application controller):ember190>
My understanding is that the
CollectionView is created dynamically when I use the
each helper in the template. Since the
content of my
ArrayController is an array, I’m not sure why the
CollectionView is complaining.
What am I doing wrong?