method

find_full_path

rails latest stable - Class: ActionView::Template

Method deprecated or moved

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

find_full_path(path, load_paths)
private

No documentation available.

# File actionpack/lib/action_view/template.rb, line 89
      def find_full_path(path, load_paths)
        load_paths = Array(load_paths) + [nil]
        load_paths.each do |load_path|
          file = [load_path, path].compact.join('/')
          return load_path, file if File.file?(file)
        end
        raise MissingTemplate.new(load_paths, path)
      end