module AbstractController::ViewPaths

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

information.
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)
end

def prepend_view_path(path)

def prepend_view_path(path)
  lookup_context.view_paths.unshift(*path)
end