Skip to content

Instantly share code, notes, and snippets.

@maedi
Last active December 11, 2015 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maedi/4646281 to your computer and use it in GitHub Desktop.
Save maedi/4646281 to your computer and use it in GitHub Desktop.
App.ApplicationRoute = Ember.Route.extend({
setupController: function(controller, model) {
this.controllerFor('posts').set('model', App.Post.find());
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment