diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-07 10:50:23 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-07 10:50:23 -0200 |
commit | e41425a8ead1b28fc07c6a6549a403c69e103abd (patch) | |
tree | 897605cacae2eca1bc34e567c06f74f17746098c /actionpack/lib/action_view/helpers | |
parent | 3e0ecde2082f3b0ca07e7b28cdd4f9294a223442 (diff) | |
download | rails-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/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 2 |
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 |