diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-05 13:54:40 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-05 13:54:40 -0800 |
commit | 798b5efedb7c6f10e606cf87546af34c1744e76f (patch) | |
tree | 096b03b0972a630ec54e91840123a8a0eca76540 /actionpack/lib/abstract_controller/view_paths.rb | |
parent | 4751cc21e8893f1cec827c8dcdf876db43e91556 (diff) | |
parent | 2e487bc65816b1dec3d444a8a6f80aaef7eb68d3 (diff) | |
download | rails-798b5efedb7c6f10e606cf87546af34c1744e76f.tar.gz rails-798b5efedb7c6f10e606cf87546af34c1744e76f.tar.bz2 rails-798b5efedb7c6f10e606cf87546af34c1744e76f.zip |
Merge pull request #4333 from rafaelfranca/patch-1
Change more Array.wrap calls
Diffstat (limited to 'actionpack/lib/abstract_controller/view_paths.rb')
-rw-r--r-- | actionpack/lib/abstract_controller/view_paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/view_paths.rb b/actionpack/lib/abstract_controller/view_paths.rb index 96118b940f..c08b3a0e2a 100644 --- a/actionpack/lib/abstract_controller/view_paths.rb +++ b/actionpack/lib/abstract_controller/view_paths.rb @@ -89,7 +89,7 @@ module AbstractController # * <tt>paths</tt> - If a PathSet is provided, use that; # otherwise, process the parameter into a PathSet. def view_paths=(paths) - self._view_paths = ActionView::PathSet.new(Array.wrap(paths)) + self._view_paths = ActionView::PathSet.new(Array(paths)) end end end |