aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-06-28 18:42:26 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2016-06-28 18:42:26 +0200
commitc3bf3414ec92e02e7f3dc70394c4a7c5512bdbd1 (patch)
tree4033ecbe35a43f35513634f517e644f0911eb33d /actionview/lib/action_view/helpers
parent59a1a8a3e297da76a8c6daa4a81e4792353f8f4d (diff)
downloadrails-c3bf3414ec92e02e7f3dc70394c4a7c5512bdbd1.tar.gz
rails-c3bf3414ec92e02e7f3dc70394c4a7c5512bdbd1.tar.bz2
rails-c3bf3414ec92e02e7f3dc70394c4a7c5512bdbd1.zip
Add dup leftover from 26710ab.
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r--actionview/lib/action_view/helpers/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/tag_helper.rb b/actionview/lib/action_view/helpers/tag_helper.rb
index b598dcbdbf..48dea8f214 100644
--- a/actionview/lib/action_view/helpers/tag_helper.rb
+++ b/actionview/lib/action_view/helpers/tag_helper.rb
@@ -58,7 +58,7 @@ module ActionView
def tag_options(options, escape = true)
return if options.blank?
- output = ""
+ output = "".dup
sep = " "
options.each_pair do |key, value|
if TAG_PREFIXES.include?(key) && value.is_a?(Hash)