aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/view_paths.rb
diff options
context:
space:
mode:
authorManuel Meurer <manuel.meurer@gmail.com>2011-03-13 15:14:51 +0700
committerManuel Meurer <manuel.meurer@gmail.com>2011-03-13 15:14:51 +0700
commitdeae670e9a8c042ed24a7262b91283f05bcaa3d6 (patch)
tree73e8aca56eaeb2541968fee644b4b13ff248f0f3 /actionpack/lib/abstract_controller/view_paths.rb
parentc540b3544100a29d3d34ada220c175dbd70bab2f (diff)
downloadrails-deae670e9a8c042ed24a7262b91283f05bcaa3d6.tar.gz
rails-deae670e9a8c042ed24a7262b91283f05bcaa3d6.tar.bz2
rails-deae670e9a8c042ed24a7262b91283f05bcaa3d6.zip
Change ActionView::ViewPathSet to ActionView::PathSet
Diffstat (limited to 'actionpack/lib/abstract_controller/view_paths.rb')
-rw-r--r--actionpack/lib/abstract_controller/view_paths.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/abstract_controller/view_paths.rb b/actionpack/lib/abstract_controller/view_paths.rb
index 6544c8949a..cea0f5ad1e 100644
--- a/actionpack/lib/abstract_controller/view_paths.rb
+++ b/actionpack/lib/abstract_controller/view_paths.rb
@@ -36,7 +36,7 @@ module AbstractController
# ==== Parameters
# * <tt>path</tt> - If a String is provided, it gets converted into
# the default view path. You may also provide a custom view path
- # (see ActionView::ViewPathSet for more information)
+ # (see ActionView::PathSet for more information)
def append_view_path(path)
self.view_paths = view_paths.dup + Array(path)
end
@@ -46,7 +46,7 @@ module AbstractController
# ==== Parameters
# * <tt>path</tt> - If a String is provided, it gets converted into
# the default view path. You may also provide a custom view path
- # (see ActionView::ViewPathSet for more information)
+ # (see ActionView::PathSet for more information)
def prepend_view_path(path)
self.view_paths = Array(path) + view_paths.dup
end
@@ -59,8 +59,8 @@ module AbstractController
# Set the view paths.
#
# ==== Parameters
- # * <tt>paths</tt> - If a ViewPathSet is provided, use that;
- # otherwise, process the parameter into a ViewPathSet.
+ # * <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.freeze