aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2012-01-31 16:08:11 +0100
committerJosé Valim <jose.valim@plataformatec.com.br>2012-01-31 16:08:11 +0100
commitbc194cf564243899a4d2f97f2d2f3f50d72ff379 (patch)
tree870ea20394f6a55c0f531528fb5f9135442ca0b4 /actionpack
parent9a76e1f92f3f5b5e40ee26d3b975366e952cd742 (diff)
downloadrails-bc194cf564243899a4d2f97f2d2f3f50d72ff379.tar.gz
rails-bc194cf564243899a4d2f97f2d2f3f50d72ff379.tar.bz2
rails-bc194cf564243899a4d2f97f2d2f3f50d72ff379.zip
to_proper_path -> to_partial_path
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/renderer/partial_renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/renderer/partial_renderer.rb b/actionpack/lib/action_view/renderer/partial_renderer.rb
index fac5f59a17..3033294883 100644
--- a/actionpack/lib/action_view/renderer/partial_renderer.rb
+++ b/actionpack/lib/action_view/renderer/partial_renderer.rb
@@ -85,7 +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.
+ # and pick the proper path by checking `to_partial_path` method.
#
# # @account.to_partial_path returns 'accounts/account', so it can be used to replace:
# # <%= render :partial => "accounts/account", :locals => { :account => @account} %>