module ActionView::ViewPaths::ClassMethods

def _prefixes # :nodoc:

:nodoc:
def _prefixes # :nodoc:
  @_prefixes ||= begin
    return local_prefixes if superclass.abstract?
    local_prefixes + superclass._prefixes
  end
end

def _view_paths

def _view_paths
  ViewPaths.get_view_paths(self)
end

def _view_paths=(paths)

def _view_paths=(paths)
  ViewPaths.set_view_paths(self, paths)
end

def append_view_path(path)

(see ActionView::PathSet for more information)
the default view path. You may also provide a custom view path
* path - If a String is provided, it gets converted into
==== Parameters

Append a path to the list of view paths for this controller.
def append_view_path(path)
  self._view_paths = view_paths + Array(path)
end

def local_prefixes

Prefixes defined here will still be added to parents' ._prefixes.
Override this method in your controller if you want to change paths prefixes for finding views.
def local_prefixes
  [controller_path]
end

def prepend_view_path(path)

(see ActionView::PathSet for more information)
the default view path. You may also provide a custom view path
* path - If a String is provided, it gets converted into
==== Parameters

Prepend a path to the list of view paths for this controller.
def prepend_view_path(path)
  self._view_paths = ActionView::PathSet.new(Array(path) + view_paths)
end

def view_paths

A list of all of the default view paths for this controller.
def view_paths
  _view_paths
end

def view_paths=(paths)

otherwise, process the parameter into a PathSet.
* paths - If a PathSet is provided, use that;
==== Parameters

Set the view paths.
def view_paths=(paths)
  self._view_paths = ActionView::PathSet.new(Array(paths))
end