module ActionView::ViewPaths
def _prefixes # :nodoc:
The prefixes used in render "foo" shortcuts.
def _prefixes # :nodoc: self.class._prefixes end
def append_view_path(path)
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 the current LookupContext.
def append_view_path(path) lookup_context.append_view_paths(self.class._build_view_paths(path)) end
def details_for_lookup
def details_for_lookup {} end
def lookup_context
information required for looking up templates, i.e. view paths and
LookupContext is the object responsible for holding all
def lookup_context @_lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup, _prefixes) end
def prepend_view_path(path)
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 the current LookupContext.
def prepend_view_path(path) lookup_context.prepend_view_paths(self.class._build_view_paths(path)) end