diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-09 12:10:25 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-09 12:10:25 -0700 |
commit | f9f423fa183aeddb8c65bc7974860d0c6c670427 (patch) | |
tree | 3201dc510d2de34a5b1f528a2af96724dcb06eba /actionpack/lib/abstract_controller | |
parent | 3ad26c8e489a04a03053ec9f9ea09d7c39e0f3f0 (diff) | |
download | rails-f9f423fa183aeddb8c65bc7974860d0c6c670427.tar.gz rails-f9f423fa183aeddb8c65bc7974860d0c6c670427.tar.bz2 rails-f9f423fa183aeddb8c65bc7974860d0c6c670427.zip |
deprecating process_view_paths
Diffstat (limited to 'actionpack/lib/abstract_controller')
-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 7e11eb3cff..d18e75ec29 100644 --- a/actionpack/lib/abstract_controller/view_paths.rb +++ b/actionpack/lib/abstract_controller/view_paths.rb @@ -87,7 +87,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::Base.process_view_paths(paths) + self._view_paths = ActionView::PathSet.new(Array.wrap(paths)) end end end |