Skip to content

Commit

Permalink
to_proper_path -> to_partial_path
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Jan 31, 2012
1 parent 9a76e1f commit bc194cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/renderer/partial_renderer.rb
Expand Up @@ -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} %>
Expand Down

0 comments on commit bc194cf

Please sign in to comment.