aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-11-06 23:25:02 +0000
committerMarcel Molina <marcel@vernix.org>2007-11-06 23:25:02 +0000
commit458ef3b5528ea3e94ffcad39637ef3cc7ed5bf62 (patch)
treed954fe9edbba1c2fcd07afb10f1c297a8f084580 /actionpack/lib/action_view
parentc5588437d3651ce1a72b31a7a4858cd1660dc7df (diff)
downloadrails-458ef3b5528ea3e94ffcad39637ef3cc7ed5bf62.tar.gz
rails-458ef3b5528ea3e94ffcad39637ef3cc7ed5bf62.tar.bz2
rails-458ef3b5528ea3e94ffcad39637ef3cc7ed5bf62.zip
Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view')
-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 d0c8f155ea..8f792c181a 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -337,7 +337,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("even", "odd", :name => "row_class") -%>">
# <td>
# <% item.values.each do |value| %>
# <%# Create a named cycle "colors" %>