Skip to content

Instantly share code, notes, and snippets.

@Sen
Created November 25, 2013 17:07
Show Gist options
  • Save Sen/7644768 to your computer and use it in GitHub Desktop.
Save Sen/7644768 to your computer and use it in GitHub Desktop.
ember problem
Visahq.EntriesController = Ember.ArrayController.extend
needs: ['mattersNew']
content: Ember.computed.alias('controllers.mattersNew.entries')
itemController: 'entry'
Visahq.MattersNewController = Ember.Controller.extend
needs: ['entries']
entries: Ember.A()
{{view Ember.CollectionView content=controllers.entries}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment