Permalink
Browse files

Nitpick: the first value should be odd, second is even.

  • Loading branch information...
1 parent 4dcc4a0 commit 2f3eefcdca1d5dda42be1456349b8c6c79195f1e Ryan Bigg committed Feb 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/text_helper.rb
@@ -415,7 +415,7 @@ def auto_link(text, *args, &block)#link = :all, html = {}, &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("odd", "even", :name => "row_class") -%>">
# <td>
# <% item.values.each do |value| %>
# <%# Create a named cycle "colors" %>

0 comments on commit 2f3eefc

Please sign in to comment.