Permalink
Browse files

Make sure vido tags with multiple sources works with asset fingerprints.

  • Loading branch information...
1 parent e314b3f commit e91e29d704f836c9faa414f5cbbbe0a5c1e7895d Godisemo committed Sep 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -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)

0 comments on commit e91e29d

Please sign in to comment.