Skip to content

Instantly share code, notes, and snippets.

@gearsdigital
Created September 25, 2013 15:51
Show Gist options
  • Save gearsdigital/6701708 to your computer and use it in GitHub Desktop.
Save gearsdigital/6701708 to your computer and use it in GitHub Desktop.
App.CollectionRoute = Ember.Route.extend({
model: function (params) {
return this.get('store').find('collection', params.collection_id);
},
serialize: function(record, options){
console.log(record, options)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment