Skip to content

Instantly share code, notes, and snippets.

@joachimhs
Created January 15, 2013 17:27
Show Gist options
  • Select an option

  • Save joachimhs/4540313 to your computer and use it in GitHub Desktop.

Select an option

Save joachimhs/4540313 to your computer and use it in GitHub Desktop.
EurekaJ.MainChartsRoute = Ember.Route.extend({
model: function() {
return EurekaJ.MainMenuModel.find();
},
setupController: function(controller, model) {
//controller.set('content', model); //Tried it with an without this, even with set('content', EurekaJ.MainMenuModel.find());
}
});
EurekaJ.MainChartsController = Ember.ArrayController.extend({
content: []
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment