Skip to content

Instantly share code, notes, and snippets.

@cloke
Created July 11, 2013 23:31
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 cloke/5980226 to your computer and use it in GitHub Desktop.
Save cloke/5980226 to your computer and use it in GitHub Desktop.
DS.RESTAdapter = DS.RESTAdapter.extend({
serializer: DS.RESTSerializer.extend({
primaryKey: function(type) {
return '_id';
}
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment