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

This commit is contained in:
Ryan Bigg 2010-02-27 09:29:51 +11:00
parent 4dcc4a0b60
commit 2f3eefcdca

@ -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" %>