lib/lotus/view/rendering/partial_finder.rb
# Find a template for a partial. Initially it will look for the
# partial template under the directory of the parent directory 
# view template, if not found it will search recursivly from 
# the view root.
#
# @return [Lotus::View::Template] the requested template
#
# @see Lotus::View::Rendering::TemplateFinder#find
#
# @since x.x.x
# @api private
Find a template for a partial. Initially it will look for the
partial template under the directory of the parent directory
view template, if not found it will search recursivly from
the view root.
Find a template for a partial . Initially it will look for the partial template under the directory of the parent directory view template if not found it will search recursivly from the view root .
def find
          if path = partial_template_under_view_path
            View::Template.new path
          else
            super
          end
        end
def find if path = partial_template_under_view_path View :: Template . new path else super end end
Find a template for a partial.
Find a template for a partial .
the requested template
the requested template
Lotus::View::Template
see
None
since
None
api
None