From 2228fdbbae81b4a78c3b5ce687cc670026044a90 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Fri, 5 Jan 2007 20:59:31 +0000 Subject: Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs. Closes #6922 [Steven Bristol] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/prototype_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index dab10a6b37..78da33f139 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -467,7 +467,7 @@ module ActionView # # # Replace the DOM element having ID 'person-45' with the # # 'person' partial for the appropriate object. - # replace_html 'person-45', :partial => 'person', :object => @person + # replace 'person-45', :partial => 'person', :object => @person # # This allows the same partial that is used for the +insert_html+ to # be also used for the input to +replace+ without resorting to -- cgit v1.2.3