aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2012-02-07 04:56:19 -0800
committerJosé Valim <jose.valim@plataformatec.com.br>2012-02-07 04:56:19 -0800
commited9aeec92d60c2b62f3cef6b02112ad4401a0bcc (patch)
tree897605cacae2eca1bc34e567c06f74f17746098c /actionpack/lib
parent3e0ecde2082f3b0ca07e7b28cdd4f9294a223442 (diff)
parente41425a8ead1b28fc07c6a6549a403c69e103abd (diff)
downloadrails-ed9aeec92d60c2b62f3cef6b02112ad4401a0bcc.tar.gz
rails-ed9aeec92d60c2b62f3cef6b02112ad4401a0bcc.tar.bz2
rails-ed9aeec92d60c2b62f3cef6b02112ad4401a0bcc.zip
Merge pull request #4924 from rafaelfranca/fix-asset_tag
Fix audio_tag and video_tag helpers
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