diff options
author | Ryan Bigg <ryan@getup.org.au> | 2010-02-27 09:29:51 +1100 |
---|---|---|
committer | Ryan Bigg <ryan@getup.org.au> | 2010-02-27 09:29:51 +1100 |
commit | 2f3eefcdca1d5dda42be1456349b8c6c79195f1e (patch) | |
tree | 747ab00e5de0d71d1518779dc2dbc2c9f9eff3c8 /actionpack/lib/action_view | |
parent | 4dcc4a0b60fbcca0395ac94b62147e2f9567a425 (diff) | |
download | rails-2f3eefcdca1d5dda42be1456349b8c6c79195f1e.tar.gz rails-2f3eefcdca1d5dda42be1456349b8c6c79195f1e.tar.bz2 rails-2f3eefcdca1d5dda42be1456349b8c6c79195f1e.zip |
Nitpick: the first value should be odd, second is even.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/text_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index 644f34dbbe..e1ce65f90a 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -415,7 +415,7 @@ module ActionView # {: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" %> |