fix typo in index.html

This commit is contained in:
Eric Wang
2012-03-03 11:47:13 -08:00
parent 673d07beaf
commit f422291547

View File

@@ -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.