Skip to content

Instantly share code, notes, and snippets.

@gintsgints
Created January 8, 2014 20:43
Show Gist options
  • Save gintsgints/8324257 to your computer and use it in GitHub Desktop.
Save gintsgints/8324257 to your computer and use it in GitHub Desktop.
module.exports = App.CompaniesRoute = Ember.Route.extend({
/* model: function() {
var result = this.store.find('company');
return result;
} */
setupController: function(controller, model) {
controller.set('company', model);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment