diff options
author | Robert Massaioli <robertmassaioli@gmail.com> | 2011-06-13 14:58:56 +1000 |
---|---|---|
committer | Robert Massaioli <robertmassaioli@gmail.com> | 2011-06-13 14:58:56 +1000 |
commit | d7a2431408429d0967d9b59f07c0d4637f744d71 (patch) | |
tree | 94ab07ee1647bb28800dd6b3b9ffdf0abf235b6f | |
parent | 657ba2a9f089d68171bb1820d4aa278f7ed022ca (diff) | |
download | rails-d7a2431408429d0967d9b59f07c0d4637f744d71.tar.gz rails-d7a2431408429d0967d9b59f07c0d4637f744d71.tar.bz2 rails-d7a2431408429d0967d9b59f07c0d4637f744d71.zip |
cycle: make an odd number be marked as odd.
Just a minor issue that was annoying me so I thought that I would jump in and fix it.
-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 8f97eb7d75..472b996a5e 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -280,7 +280,7 @@ module ActionView # @items = [1,2,3,4] # <table> # <% @items.each do |item| %> - # <tr class="<%= cycle("even", "odd") -%>"> + # <tr class="<%= cycle("odd", "even") -%>"> # <td>item</td> # </tr> # <% end %> |