aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <ryan@getup.org.au>2010-02-27 09:29:51 +1100
committerRyan Bigg <ryan@getup.org.au>2010-02-27 09:29:51 +1100
commit2f3eefcdca1d5dda42be1456349b8c6c79195f1e (patch)
tree747ab00e5de0d71d1518779dc2dbc2c9f9eff3c8
parent4dcc4a0b60fbcca0395ac94b62147e2f9567a425 (diff)
downloadrails-2f3eefcdca1d5dda42be1456349b8c6c79195f1e.tar.gz
rails-2f3eefcdca1d5dda42be1456349b8c6c79195f1e.tar.bz2
rails-2f3eefcdca1d5dda42be1456349b8c6c79195f1e.zip
Nitpick: the first value should be odd, second is even.
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
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" %>