The prefixes used in render “foo” shortcuts.
# File lib/abstract_controller/view_paths.rb, line 31 def _prefixes @_prefixes ||= begin parent_prefixes = self.class.parent_prefixes parent_prefixes.dup.unshift(controller_path) end end
# File lib/abstract_controller/view_paths.rb, line 50 def append_view_path(path) lookup_context.view_paths.push(*path) end
# File lib/abstract_controller/view_paths.rb, line 46 def details_for_lookup { } 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 41 def lookup_context @_lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup, _prefixes) end
Generated with the Darkfish Rdoc Generator 2.