Permalink
Browse files

Typo in current_cycle example.

  • Loading branch information...
1 parent 3e3945b commit 1783cc0b8f43e4aff683b78e8d772693eef42cc5 @henrik henrik committed Aug 28, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/text_helper.rb
@@ -507,7 +507,7 @@ def cycle(first_value, *values)
# @items = [1,2,3,4]
# <% @items.each do |item| %>
# <div style="background-color:<%= cycle("red","white","blue") %>">
- # <span style="background-color:<%= current_cycle %><%= item %></span>
+ # <span style="background-color:<%= current_cycle %>"><%= item %></span>
# </div>
# <% end %>
def current_cycle(name = "default")

0 comments on commit 1783cc0

Please sign in to comment.