instance method
lookup_context
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v4.0.13Signature
lookup_context()
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.
Source
# File actionpack/lib/abstract_controller/view_paths.rb, line 17
def lookup_context
@lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup)
end
Defined in actionpack/lib/abstract_controller/view_paths.rb line 17
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::ViewPaths