instance method
find_full_path
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3 PrivateSignature
find_full_path(path, load_paths)
No documentation comment.
Parameters
-
pathreq -
load_pathsreq
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