mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove non-obligatory params in AC respond_to examples
This commit is contained in:
parent
a17874ee56
commit
e527347554
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue