instance method
find_templates
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20 PrivateSignature
find_templates(name, prefix, partial, details)
No documentation comment.
Parameters
-
namereq -
prefixreq -
partialreq -
detailsreq
Source
# File actionpack/lib/action_view/template/resolver.rb, line 53
def find_templates(name, prefix, partial, details)
path = build_path(name, prefix, partial, details)
query(path, EXTENSION_ORDER.map { |ext| details[ext] }, details[:formats])
end
Defined in actionpack/lib/action_view/template/resolver.rb line 53
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::PathResolver