diff options
author | Tim Cooper <coop@latrobest.com> | 2012-01-07 16:45:22 +1000 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-18 00:44:17 -0200 |
commit | f4551ca7ac75d1b500d5c20a8571dcd43bda2526 (patch) | |
tree | c152e1d1a9053dde1f3d1f7ef93e0b16f156ff5f | |
parent | 67681cb1031f41a610e94b9339f0a1b6f2a99a39 (diff) | |
download | rails-f4551ca7ac75d1b500d5c20a8571dcd43bda2526.tar.gz rails-f4551ca7ac75d1b500d5c20a8571dcd43bda2526.tar.bz2 rails-f4551ca7ac75d1b500d5c20a8571dcd43bda2526.zip |
Remove capture.
-rw-r--r-- | actionpack/lib/action_view/helpers/record_tag_helper.rb | 2 |
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 |