Flowdock
method

each_template

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionMailer::Base
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 764
    def each_template(paths, name, &block) #:nodoc:
      templates = lookup_context.find_all(name, paths)
      if templates.empty?
        raise ActionView::MissingTemplate.new(paths, name, paths, false, 'mailer')
      else
        templates.uniq { |t| t.formats }.each(&block)
      end
    end
Register or log in to add new notes.