Created
January 15, 2013 17:27
-
-
Save joachimhs/4540313 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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