Don't sort ad_slots

pull/3/head
Omar Roth 7 years ago
parent 22800efbc4
commit e8349ae46b

@ -293,7 +293,6 @@ get "/watch" do |env|
if video.info["ad_slots"]? if video.info["ad_slots"]?
ad_slots = video.info["ad_slots"].split(",") ad_slots = video.info["ad_slots"].split(",")
ad_slots.sort_by! { |a| a.to_i }
ad_slots = ad_slots.join(", ") ad_slots = ad_slots.join(", ")
end end

Loading…
Cancel
Save