1
0
Fork 0
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:
Alexey Vakhov 2012-04-03 12:43:13 +06:00
parent a17874ee56
commit e527347554

View file

@ -74,7 +74,7 @@ module ActionController #:nodoc:
# #
# respond_to do |format| # respond_to do |format|
# format.html # format.html
# format.xml { render :xml => @people.to_xml } # format.xml { render :xml => @people }
# end # end
# end # end
# #
@ -389,7 +389,7 @@ module ActionController #:nodoc:
# #
# respond_to do |format| # respond_to do |format|
# format.html # format.html
# format.xml { render :xml => @people.to_xml } # format.xml { render :xml => @people }
# end # end
# #
# In this usage, the argument passed to the block (+format+ above) is an # In this usage, the argument passed to the block (+format+ above) is an