aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2012-01-31 15:34:02 +0100
committerJosé Valim <jose.valim@plataformatec.com.br>2012-01-31 15:34:02 +0100
commit9a76e1f92f3f5b5e40ee26d3b975366e952cd742 (patch)
tree3131e9c2e03a2a4eebbef16236739cd345cb77dc /actionpack
parent98e1735d1d622ad07a8441df4eb280d7a8e96a05 (diff)
downloadrails-9a76e1f92f3f5b5e40ee26d3b975366e952cd742.tar.gz
rails-9a76e1f92f3f5b5e40ee26d3b975366e952cd742.tar.bz2
rails-9a76e1f92f3f5b5e40ee26d3b975366e952cd742.zip
Update actionpack/lib/action_view/renderer/partial_renderer.rb
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/renderer/partial_renderer.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/renderer/partial_renderer.rb b/actionpack/lib/action_view/renderer/partial_renderer.rb
index e231aade01..fac5f59a17 100644
--- a/actionpack/lib/action_view/renderer/partial_renderer.rb
+++ b/actionpack/lib/action_view/renderer/partial_renderer.rb
@@ -85,8 +85,7 @@ module ActionView
# == Rendering objects that respond to `to_partial_path`
#
# Instead of explicitly naming the location of a partial, you can also let PartialRenderer do the work
- # and pick the proper path by checking `to_proper_path` method. If the object passed to render is a collection,
- # all objects must return the same path.
+ # and pick the proper path by checking `to_proper_path` method.
#
# # @account.to_partial_path returns 'accounts/account', so it can be used to replace:
# # <%= render :partial => "accounts/account", :locals => { :account => @account} %>