instance method lookup_context

Ruby on Rails 3.2.22.5

Since v3.0.20 Last seen in v4.0.13

Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13

Signature

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 43
    def lookup_context
      @_lookup_context ||=
        ActionView::LookupContext.new(self.class._view_paths, details_for_lookup, _prefixes)
    end

Defined in actionpack/lib/abstract_controller/view_paths.rb line 43 · View on GitHub · Improve this page · Find usages on GitHub

Defined in AbstractController::ViewPaths

Type at least 2 characters to search.

↑↓ navigate · open · esc close