Skip to content

Instantly share code, notes, and snippets.

@miwillhite
Created December 13, 2011 23:49
Show Gist options
  • Save miwillhite/1474517 to your computer and use it in GitHub Desktop.
Save miwillhite/1474517 to your computer and use it in GitHub Desktop.
Rook.Models.Person = Backbone.Model.extend({
paramRoot: 'person'
});
Rook.Models.People = Backbone.Collection.extend({
model: Rook.Models.Person,
url: '/people'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment