Skip to content

Instantly share code, notes, and snippets.

@akb
Created August 1, 2012 20:42
Show Gist options
  • Save akb/3230546 to your computer and use it in GitHub Desktop.
Save akb/3230546 to your computer and use it in GitHub Desktop.
setting urlRoot property on extended backbone model
class models.Image extends Backbone.Models
urlRoot: "/images"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment