method

find_candidate_template_paths

find_candidate_template_paths(path)
private

No documentation available.

# File actionview/lib/action_view/template/resolver.rb, line 349
      def find_candidate_template_paths(path)
        # Instead of checking for every possible path, as our other globs would
        # do, scan the directory for files with the right prefix.
        query = "#{escape_entry(File.join(@path, path))}*"

        Dir[query].reject do |filename|
          File.directory?(filename)
        end
      end