instance method
find_file
Ruby on Rails 4.2.9
Since v3.2.22.5 Last seen in v6.0.6Signature
find_file(name, prefixes = [], partial = false, keys = [], options = {})
No documentation comment.
Parameters
-
namereq -
prefixesopt = [] -
partialopt = false -
keysopt = [] -
optionsopt = {}
Source
# File actionview/lib/action_view/lookup_context.rb, line 125
def find_file(name, prefixes = [], partial = false, keys = [], options = {})
@view_paths.find_file(*args_for_lookup(name, prefixes, partial, keys, options))
end
Defined in actionview/lib/action_view/lookup_context.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::LookupContext::ViewPaths