Instance Public methods
_view_paths() Link
Source: show
# File actionview/lib/action_view/view_paths.rb, line 15 def _view_paths ActionView::PathRegistry.get_view_paths(self) end
_view_paths=(paths) Link
Source: show
# File actionview/lib/action_view/view_paths.rb, line 19 def _view_paths=(paths) ActionView::PathRegistry.set_view_paths(self, paths) end
append_view_path(path) Link
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: show
# File actionview/lib/action_view/view_paths.rb, line 44 def append_view_path(path) self._view_paths = view_paths + _build_view_paths(path) end
prepend_view_path(path) Link
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: show
# File actionview/lib/action_view/view_paths.rb, line 54 def prepend_view_path(path) self._view_paths = _build_view_paths(path) + view_paths end