mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
fix typo in index.html
This commit is contained in:
@@ -3234,7 +3234,7 @@ ActiveRecord::Base.include_root_in_json = false
|
||||
... in your configuration. Otherwise, override
|
||||
<a href="#Model-parse">parse</a> to pull model attributes out of the
|
||||
wrapper. Similarly, Backbone PUTs and POSTs direct JSON representations
|
||||
of models, where by default Rails expcects namespaced attributes. You can
|
||||
of models, where by default Rails expects namespaced attributes. You can
|
||||
have your controllers filter attributes directly from <tt>params</tt>, or
|
||||
you can override <a href="#Model-toJSON">toJSON</a> in Backbone to add
|
||||
the extra wrapping Rails expects.
|
||||
|
||||
Reference in New Issue
Block a user