instance method
find_candidate_template_paths
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v6.1.7.10 PrivateSignature
find_candidate_template_paths(path)
No documentation comment.
Parameters
-
pathreq
Source
# File actionview/lib/action_view/testing/resolvers.rb, line 26
def find_candidate_template_paths(path)
@hash.keys.select do |fixture|
fixture.start_with?(path.virtual)
end.map do |fixture|
"/#{fixture}"
end
end
Defined in actionview/lib/action_view/testing/resolvers.rb line 26
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::FixtureResolver