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)
def append_view_path(path) lookup_context.view_paths.push(*path) end
def details_for_lookup
def details_for_lookup { } end
def lookup_context
templates, i.e. view paths and details. Check ActionView::LookupContext for more
LookupContext is the object responsible to hold all information required to lookup
def lookup_context @_lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup, _prefixes) end
def prepend_view_path(path)
def prepend_view_path(path) lookup_context.view_paths.unshift(*path) end