aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-07 10:50:23 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-07 10:50:23 -0200
commite41425a8ead1b28fc07c6a6549a403c69e103abd (patch)
tree897605cacae2eca1bc34e567c06f74f17746098c /actionpack/lib
parent3e0ecde2082f3b0ca07e7b28cdd4f9294a223442 (diff)
downloadrails-e41425a8ead1b28fc07c6a6549a403c69e103abd.tar.gz
rails-e41425a8ead1b28fc07c6a6549a403c69e103abd.tar.bz2
rails-e41425a8ead1b28fc07c6a6549a403c69e103abd.zip
Always use content_tag for audio/video tag
Closes #4919
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index 7029ca8a8d..c035dde51e 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -488,7 +488,7 @@ module ActionView
end
else
options[:src] = send("path_to_#{type}", sources.first)
- tag(type, options)
+ content_tag(type, nil, options)
end
end