method

find_template

rails latest stable - Class: ActionView::Partials::PartialRenderer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

find_template(path=@path)
private

No documentation available.

# File actionpack/lib/action_view/render/partials.rb, line 353
      def find_template(path=@path)
        return path unless path.is_a?(String)
        prefix = @view.controller_path unless path.include?(//)
        @view.find_template(path, prefix, true)
      end