Method: AbstractController::ViewPaths#lookup_context

Defined in:
lib/abstract_controller/view_paths.rb

#lookup_contextObject

LookupContext is the object responsible to hold all information required to lookup templates, i.e. view paths and details. Check ActionView::LookupContext for more information.



17
18
19
# File 'lib/abstract_controller/view_paths.rb', line 17

def lookup_context
  @lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup)
end