aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-30 12:17:04 -0800
committerZachary Scott <e@zzak.io>2014-12-30 12:17:04 -0800
commita7e9790821bb96efa99ff4f1ed69395e6863aea1 (patch)
tree42091491359614acc7d392f152d31e7982c3a4b7
parent0bf8dba2a3056f973ba55fe69f374261ec7cc0de (diff)
parent7b4c6dca43b78313b545bbfa0d148401c8f96df1 (diff)
downloadrails-a7e9790821bb96efa99ff4f1ed69395e6863aea1.tar.gz
rails-a7e9790821bb96efa99ff4f1ed69395e6863aea1.tar.bz2
rails-a7e9790821bb96efa99ff4f1ed69395e6863aea1.zip
Merge pull request #18262 from benwoody/fix-cycle-doc-missprint
Fixes simple missprint in docs for #cyle in text_helper [ci skip]
-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>