Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix syntax error in documentation example for cycle method. Closes #8735

 [foca]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 458ef3b5528ea3e94ffcad39637ef3cc7ed5bf62 1 parent c558843
Marcel Molina authored
View
2  actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
+
* Document :with option for link_to_remote. Closes #8765 [ryanb]
* Document :minute_step option for time_select. Closes #8814 [brupm]
View
2  actionpack/lib/action_view/helpers/text_helper.rb
@@ -337,7 +337,7 @@ def auto_link(text, link = :all, href_options = {}, &block)
# {:first => 'Emily', :middle => 'Shannon', :maiden => 'Pike', :last => 'Hicks'},
# {:first => 'June', :middle => 'Dae', :last => 'Jones'}]
# <% @items.each do |item| %>
- # <tr class="<%= cycle("even", "odd", :name => "row_class")
+ # <tr class="<%= cycle("even", "odd", :name => "row_class") -%>">
# <td>
# <% item.values.each do |value| %>
# <%# Create a named cycle "colors" %>
Please sign in to comment.
Something went wrong with that request. Please try again.