method

templates_in_path

rails latest stable - Class: ActionView::Template::EagerPath

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

templates_in_path()
private

No documentation available.

# File actionpack/lib/action_view/template.rb, line 85
        def templates_in_path
          (Dir.glob("#{@path}/**/*/**") | Dir.glob("#{@path}/**")).each do |file|
            yield create_template(file) unless File.directory?(file)
          end
        end