From 08e5104a596d2dc0bb831afed6cd0b83e106067c Mon Sep 17 00:00:00 2001 From: Sergey Nartimov Date: Wed, 25 Jan 2012 22:21:53 +0300 Subject: allow to pass multiple sources to audio/video tags without using array --- .../lib/action_view/helpers/asset_tag_helper.rb | 32 ++++++++++++++-------- 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index 134eaab8bc..251b8f8005 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/array/extract_options' +require 'active_support/core_ext/hash/keys' require 'action_view/helpers/asset_tag_helpers/javascript_tag_helpers' require 'action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers' require 'action_view/helpers/asset_tag_helpers/asset_paths' @@ -407,12 +409,15 @@ module ActionView #