aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/record_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/record_tag_helper.rb b/actionpack/lib/action_view/helpers/record_tag_helper.rb
index 980fa8130b..8e667fe30b 100644
--- a/actionpack/lib/action_view/helpers/record_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/record_tag_helper.rb
@@ -82,7 +82,7 @@ module ActionView
#
def content_tag_for(tag_name, single_or_multiple_records, prefix = nil, options = nil, &block)
Array.wrap(single_or_multiple_records).map do |single_record|
- capture { content_tag_for_single_record(tag_name, single_record, prefix, options, &block) }
+ content_tag_for_single_record tag_name, single_record, prefix, options, &block
end.join("\n").html_safe
end