Skip to content

Files

Latest commit

 

History

History
24 lines (17 loc) · 465 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 465 Bytes

Backbone JS

JavaScript from backbone-rails gem.

Usage

class User extends Backbone.Model
  paramRoot: 'user'

What this JS will do is send the POST / PUT with a container user

{
  user: {
    email: 'foo@baz.com'
  }
}

Credit

Full credit goes to the backbone-rails gem