method
find_full_path
v2.2.1 -
Show latest stable
- Class:
ActionView::Template
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