Last active
December 21, 2015 12:38
-
-
Save kurko/6306697 to your computer and use it in GitHub Desktop.
Generating content for ArrayController. Returns: Uncaught TypeError: Object function () { return App.Article.createRecord({title: "my article"}); } has no method 'addArrayObserver'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.IndexController = Ember.ArrayController.extend({ | |
software_index: function() { | |
// this will use .find() later | |
return Ember.A([App.Text.find()]); | |
}.property() | |
}); | |
App.PostsIndexController = Ember.ArrayController.extend(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment