aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2012-04-03 12:43:13 +0600
committerAlexey Vakhov <vakhov@gmail.com>2012-04-03 12:43:13 +0600
commite52734755477f1ac690b972f1567e9285abf03a7 (patch)
tree7de8d544a9e02cfffb93c8f0269019cecf5f7d41 /actionpack/lib
parenta17874ee568e68acb94fea2e581602823f0c6db3 (diff)
downloadrails-e52734755477f1ac690b972f1567e9285abf03a7.tar.gz
rails-e52734755477f1ac690b972f1567e9285abf03a7.tar.bz2
rails-e52734755477f1ac690b972f1567e9285abf03a7.zip
Remove non-obligatory params in AC respond_to examples
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/metal/mime_responds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb
index fbb5d01e86..f467b74256 100644
--- a/actionpack/lib/action_controller/metal/mime_responds.rb
+++ b/actionpack/lib/action_controller/metal/mime_responds.rb
@@ -74,7 +74,7 @@ module ActionController #:nodoc:
#
# respond_to do |format|
# format.html
- # format.xml { render :xml => @people.to_xml }
+ # format.xml { render :xml => @people }
# end
# end
#
@@ -389,7 +389,7 @@ module ActionController #:nodoc:
#
# respond_to do |format|
# format.html
- # format.xml { render :xml => @people.to_xml }
+ # format.xml { render :xml => @people }
# end
#
# In this usage, the argument passed to the block (+format+ above) is an