aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Woodall <mail@benwoodall.com>2014-12-30 12:09:47 -0800
committerBen Woodall <mail@benwoodall.com>2014-12-30 12:09:47 -0800
commit7b4c6dca43b78313b545bbfa0d148401c8f96df1 (patch)
tree6fa4ab2d73cdea5094a2cf6c17b2ca28d32d9517
parent996e646bd8cff3bcf2b13863439f48d3e744cdae (diff)
downloadrails-7b4c6dca43b78313b545bbfa0d148401c8f96df1.tar.gz
rails-7b4c6dca43b78313b545bbfa0d148401c8f96df1.tar.bz2
rails-7b4c6dca43b78313b545bbfa0d148401c8f96df1.zip
Fixes simple missprint in docs for #cyle in text_helper
-rw-r--r--actionview/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb
index a9f1631586..2c40ed1832 100644
--- a/actionview/lib/action_view/helpers/text_helper.rb
+++ b/actionview/lib/action_view/helpers/text_helper.rb
@@ -309,7 +309,7 @@ module ActionView
# <table>
# <% @items.each do |item| %>
# <tr class="<%= cycle("odd", "even") -%>">
- # <td>item</td>
+ # <td><%= item %></td>
# </tr>
# <% end %>
# </table>