Skip to content

Instantly share code, notes, and snippets.

@kimroen
Created April 30, 2015 14:11
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 kimroen/70b339d275f96977118f to your computer and use it in GitHub Desktop.
Save kimroen/70b339d275f96977118f to your computer and use it in GitHub Desktop.
model: function() {
return request(/* url */);
},
setupController: function(controller, model) {
// This is the function that normally sets the result of `model` to the `model` property on the controller
controller.set('tacos', model.tacos);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment