each_template(paths, name, &block) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/base.rb, line 719
    def each_template(paths, name, &block) #:nodoc:
      Array.wrap(paths).each do |path|
        templates = lookup_context.find_all(name, path)
        templates = templates.uniq_by { |t| t.formats }

        unless templates.empty?
          templates.each(&block)
          return
        end
      end
    end
Register or log in to add new notes.