mirror of
https://github.com/github/rails.git
synced 2026-02-08 05:05:04 -05:00
Docfix (closes #8518)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -642,6 +642,10 @@ module ActionController #:nodoc:
|
||||
# # Renders the same partial with a local variable.
|
||||
# render :partial => "person", :locals => { :name => "david" }
|
||||
#
|
||||
# # Renders the partial, making @new_person available through
|
||||
# # the local variable 'person'
|
||||
# render :partial => "person", :object => @new_person
|
||||
#
|
||||
# # Renders a collection of the same partial by making each element
|
||||
# # of @winners available through the local variable "person" as it
|
||||
# # builds the complete response.
|
||||
|
||||
Reference in New Issue
Block a user