Commit 2e0c46276322797d2068c51d3c15b30ffc15aa00
1 parent
f8115e0f
Exists in
master
and in
2 other branches
Fix typo
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
@@ -54,7 +54,7 @@ module ApplicationHelper | @@ -54,7 +54,7 @@ module ApplicationHelper | ||
54 | 54 | ||
55 | content_tag(:video, options) do | 55 | content_tag(:video, options) do |
56 | if url.class == String | 56 | if url.class == String |
57 | - content_tag(:source, '', :src => (url + "?t=" + Time.now.getutc.to_i.to_s), :type => mimetype_from_url(v)) | 57 | + content_tag(:source, '', :src => (url + "?t=" + Time.now.getutc.to_i.to_s), :type => mimetype_from_url(url)) |
58 | else | 58 | else |
59 | url.each do |v| | 59 | url.each do |v| |
60 | concat content_tag(:source, '', :src => (v + "?t=" + Time.now.getutc.to_i.to_s), :type => mimetype_from_url(v)) | 60 | concat content_tag(:source, '', :src => (v + "?t=" + Time.now.getutc.to_i.to_s), :type => mimetype_from_url(v)) |