diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-17 22:27:48 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-17 22:27:48 -0700 |
commit | 41af6d9a78446a5219a321cf638945b1608cefd8 (patch) | |
tree | 95a5e284c6504e28802aa3a8168a8b7cc450a0e5 /actionpack/lib | |
parent | fe2f383cf3c0aa6901487c398b9ae8ffce03ecbd (diff) | |
download | rails-41af6d9a78446a5219a321cf638945b1608cefd8.tar.gz rails-41af6d9a78446a5219a321cf638945b1608cefd8.tar.bz2 rails-41af6d9a78446a5219a321cf638945b1608cefd8.zip |
Use Array.wrap not Array()
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 4d9f53cf95..859c5c0863 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -1,6 +1,7 @@ require 'active_support/core_ext/module/attr_internal' require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/class/attribute' +require 'active_support/core_ext/array/wrap' module ActionView #:nodoc: class NonConcattingString < ActiveSupport::SafeBuffer @@ -216,7 +217,7 @@ module ActionView #:nodoc: end def self.process_view_paths(value) - ActionView::PathSet.new(Array(value)) + ActionView::PathSet.new(Array.wrap(value)) end def self.for_controller(controller) |