[Pkg-javascript-commits] [backbone] 32/74: one more out-of-date-doc tweak
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 16:59:06 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.3.0
in repository backbone.
commit cd21480e8e730a5b9c5958d4dfac5bfdf760199d
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu Oct 28 01:11:04 2010 -0400
one more out-of-date-doc tweak
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index b9a0bf4..a5a592d 100644
--- a/index.html
+++ b/index.html
@@ -1275,7 +1275,7 @@ model.save(); // Sends a POST to "/collection/id", with "_method=PUT"
def update
account = Account.find(params[:id])
account.update_attributes JSON.parse params[:model]
- render :json => {:model => account}
+ render :json => account
end
</pre>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list