diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-12-06 18:38:14 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-12-06 18:38:14 +0000 |
commit | b5c42c09d67b54e03f3c0ab88c83d69cf075eb21 (patch) | |
tree | 87740193470a0a483162f6551fcfbe9b996c867e | |
parent | 729741a3fa91fb92a60795a3c9c3e3928723023c (diff) | |
download | rails-b5c42c09d67b54e03f3c0ab88c83d69cf075eb21.tar.gz rails-b5c42c09d67b54e03f3c0ab88c83d69cf075eb21.tar.bz2 rails-b5c42c09d67b54e03f3c0ab88c83d69cf075eb21.zip |
Fixed documentation that made rdoc bark
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index fa701f50b8..a3c4f5a538 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -715,7 +715,7 @@ module ActionView # # # Insert the rendered 'navigation' partial just before the DOM # # element with ID 'content'. - # # Generates: new Insertion.Before("content", "<!-- Contents of 'navigation' partial -->"); + # # Generates: new Insertion.Before("content", "-- Contents of 'navigation' partial --"); # insert_html :before, 'content', :partial => 'navigation' # # # Add a list item to the bottom of the <ul> with ID 'list'. @@ -734,7 +734,7 @@ module ActionView # # # Replace the HTML of the DOM element having ID 'person-45' with the # # 'person' partial for the appropriate object. - # # Generates: Element.update("person-45", "<!-- Contents of 'person' partial -->"); + # # Generates: Element.update("person-45", "-- Contents of 'person' partial --"); # replace_html 'person-45', :partial => 'person', :object => @person # def replace_html(id, *options_for_render) |