The prefixes used in render “foo” shortcuts.
# File lib/abstract_controller/view_paths.rb, line 33 33: def _prefixes 34: @_prefixes ||= begin 35: parent_prefixes = self.class.parent_prefixes 36: parent_prefixes.dup.unshift(controller_path) 37: end 38: end
# File lib/abstract_controller/view_paths.rb, line 52 52: def append_view_path(path) 53: lookup_context.view_paths.push(*path) 54: end
# File lib/abstract_controller/view_paths.rb, line 48 48: def details_for_lookup 49: { } 50: end
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 43 43: def lookup_context 44: @_lookup_context ||= 45: ActionView::LookupContext.new(self.class._view_paths, details_for_lookup, _prefixes) 46: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.