Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed documentation that made rdoc bark

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit b5c42c09d67b54e03f3c0ab88c83d69cf075eb21 1 parent 729741a
@dhh dhh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/prototype_helper.rb
View
4 actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -715,7 +715,7 @@ def select(pattern)
#
# # 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 @@ def insert_html(position, id, *options_for_render)
#
# # 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)
Please sign in to comment.
Something went wrong with that request. Please try again.