diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 7aefb52963..b770419948 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs. Closes #6922 [Steven Bristol] + * Slight doc tweak to #prepend_filter. Closes #6493 [Jeremy Voorhis] * Add more extensive documentation to the AssetTagHelper. Closes #6452 [Bob Silva] 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