aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tag_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/helpers/tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index 8b8c7b491c..219888adb5 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -20,9 +20,9 @@ module ActionView
# <tt><div class="strong"><p>Hello world!</p></div></tt>
#
# ERb example:
- # <% content_tag :div, :class => "strong" %>
+ # <% content_tag :div, :class => "strong" do -%>
# Hello world!
- # <% end %>
+ # <% end -%>
#
# Will output:
# <div class="strong"><p>Hello world!</p></div>