instance method
find_template
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20 PrivateSignature
find_template(path=@path)
No documentation comment.
Parameters
-
pathopt = @path
Source
# File actionpack/lib/action_view/render/partials.rb, line 353
def find_template(path=@path)
return path unless path.is_a?(String)
prefix = @view.controller_path unless path.include?(?/)
@view.find_template(path, prefix, true)
end
Defined in actionpack/lib/action_view/render/partials.rb line 353
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Partials::PartialRenderer