Created
October 7, 2014 18:47
-
-
Save dlferro/d826b8da5f418d9c8317 to your computer and use it in GitHub Desktop.
Application Controller
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.ApplicationController = Em.ArrayController.extend({ | |
itemController: 'socialItem', | |
unapprovedItems: function() { | |
return this.get('model').filterProperty('state', 0); | |
}.property('model.@each.state'), | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment