Permalink
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...
1 parent c558843 commit 458ef3b5528ea3e94ffcad39637ef3cc7ed5bf62 Marcel Molina committed Nov 6, 2007
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_view/helpers/text_helper.rb
View
@@ -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]
@@ -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" %>

0 comments on commit 458ef3b

Please sign in to comment.