Methods
Instance Public methods
_view_paths()
📝 Source code
# File actionview/lib/action_view/view_paths.rb, line 15
      def _view_paths
        ViewPaths.get_view_paths(self)
      end_view_paths=(paths)
📝 Source code
# File actionview/lib/action_view/view_paths.rb, line 19
      def _view_paths=(paths)
        ViewPaths.set_view_paths(self, paths)
      endappend_view_path(path)
Append a path to the list of view paths for this controller.
Parameters
- 
path- If aStringis provided, it gets converted into the default view path. You may also provide a custom view path (see ActionView::PathSet for more information)
📝 Source code
# File actionview/lib/action_view/view_paths.rb, line 99
      def append_view_path(path)
        self._view_paths = view_paths + Array(path)
      endprepend_view_path(path)
Prepend a path to the list of view paths for this controller.
Parameters
- 
path- If aStringis provided, it gets converted into the default view path. You may also provide a custom view path (see ActionView::PathSet for more information)
📝 Source code
# File actionview/lib/action_view/view_paths.rb, line 109
      def prepend_view_path(path)
        self._view_paths = ActionView::PathSet.new(Array(path) + view_paths)
      endview_paths()
A list of all of the default view paths for this controller.
📝 Source code
# File actionview/lib/action_view/view_paths.rb, line 114
      def view_paths
        _view_paths
      endview_paths=(paths)
Set the view paths.
Parameters
- 
paths- If a PathSet is provided, use that; otherwise, process the parameter into a PathSet.
📝 Source code
# File actionview/lib/action_view/view_paths.rb, line 123
      def view_paths=(paths)
        self._view_paths = ActionView::PathSet.new(Array(paths))
      end