method

templates_in_path

rails latest stable - Class: ActionView::PathSet::Path

Method deprecated or moved

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

templates_in_path()
private

No documentation available.

# File actionpack/lib/action_view/paths.rb, line 99
        def templates_in_path
          (Dir.glob("#{@path}/**/*/**") | Dir.glob("#{@path}/**")).each do |file|
            unless File.directory?(file)
              yield Template.new(file.split("#{self}/").last, self)
            end
          end
        end