Skip to content

Commit

Permalink
Make sure vido tags with multiple sources works with asset fingerprints.
Browse files Browse the repository at this point in the history
  • Loading branch information
Godisemo committed Sep 16, 2011
1 parent e314b3f commit e91e29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/asset_tag_helper.rb
Expand Up @@ -412,7 +412,7 @@ def video_tag(sources, options = {})

if sources.is_a?(Array)
content_tag("video", options) do
sources.map { |source| tag("source", :src => source) }.join.html_safe
sources.map { |source| tag("source", :src => path_to_video(source)) }.join.html_safe
end
else
options[:src] = path_to_video(sources)
Expand Down

0 comments on commit e91e29d

Please sign in to comment.