Skip to content

Instantly share code, notes, and snippets.

@TheIronDev
Created January 2, 2015 01:57
Show Gist options
  • Save TheIronDev/86178c696785eb8c6b57 to your computer and use it in GitHub Desktop.
Save TheIronDev/86178c696785eb8c6b57 to your computer and use it in GitHub Desktop.
Does this guy load too much?
App.IndexRoute = Ember.Route.extend({
model: function() {
var store = this.store;
return Ember.RSVP.hash({
pokeballs: App.Pokeball.all(),
pokemon: store.find('pokemon'),
status: App.Status.all(),
levels: App.Levels
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment