Sha256: 20fa1980e750470ea2d0a0122d0467a515e98d06232bbbdc0fe806e1a48653b0
Contents?: true
Size: 551 Bytes
Versions: 16
Compression:
Stored size: 551 Bytes
Contents
module Alchemy begin base_class = Object.const_get('::ApplicationMailer') rescue NameError base_class = ActionMailer::Base end # The +BaseMailer+ is the class all Alchemy mailers inherit from. # # Itself inherits from +ApplicationMailer+ when it is defined, or # as a fallback from +ActionMailer::Base+. # # +ApplicationMailer+ is the Rails standard for registering helpers and # setting the default layout. It is only generated though, when you # +rails generate+ a mailer. # class BaseMailer < base_class; end end
Version data entries
16 entries across 16 versions & 1 rubygems