instance method
find_template
Ruby on Rails 7.1.6
Since v3.2.22.5 PrivateSignature
find_template(path, locals)
No documentation comment.
Parameters
-
pathreq -
localsreq
Source
# File actionview/lib/action_view/renderer/partial_renderer.rb, line 262
def find_template(path, locals)
prefixes = path.include?(?/) ? [] : @lookup_context.prefixes
@lookup_context.find_template(path, prefixes, true, locals, @details)
end
Defined in actionview/lib/action_view/renderer/partial_renderer.rb line 262
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::PartialRenderer