instance method find_full_path

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3 Private

Signature

find_full_path(path, load_paths)

No documentation comment.

Parameters

path req
load_paths req
Source
# 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

Defined in actionpack/lib/action_view/template.rb line 89 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Template

Type at least 2 characters to search.

↑↓ navigate · open · esc close