diff options
author | Henrik N <henrik@nyh.se> | 2008-08-28 12:39:24 +0200 |
---|---|---|
committer | Henrik N <henrik@nyh.se> | 2008-08-28 12:39:24 +0200 |
commit | 1783cc0b8f43e4aff683b78e8d772693eef42cc5 (patch) | |
tree | 05540fdc8e7479cb7ecd9c430e354bbdd787f405 /actionpack | |
parent | 3e3945b2fafb9ccedfd9ff181c31b18f5d4cd0ce (diff) | |
download | rails-1783cc0b8f43e4aff683b78e8d772693eef42cc5.tar.gz rails-1783cc0b8f43e4aff683b78e8d772693eef42cc5.tar.bz2 rails-1783cc0b8f43e4aff683b78e8d772693eef42cc5.zip |
Typo in current_cycle example.
Diffstat (limited to 'actionpack')
-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 a5d43b90f4..ff6e588f62 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -507,7 +507,7 @@ module ActionView # @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") |