Class Index [+]

Quicksearch

AbstractController::ViewPaths

Public Instance Methods

append_view_path(path) click to toggle source
    # File lib/abstract_controller/view_paths.rb, line 25
25:     def append_view_path(path)
26:       lookup_context.view_paths.push(*path)
27:     end
details_for_lookup() click to toggle source
    # File lib/abstract_controller/view_paths.rb, line 21
21:     def details_for_lookup
22:       { }
23:     end
lookup_context() click to toggle source

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.

    # File lib/abstract_controller/view_paths.rb, line 17
17:     def lookup_context
18:       @lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup)
19:     end
prepend_view_path(path) click to toggle source
    # File lib/abstract_controller/view_paths.rb, line 29
29:     def prepend_view_path(path)
30:       lookup_context.view_paths.unshift(*path)
31:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.