Sha256: c8fe1338b565523a366123f821095feb013b6fcbf0f1175d9e337e34d0ad51a0
Contents?: true
Size: 582 Bytes
Versions: 135
Compression:
Stored size: 582 Bytes
Contents
# frozen_string_literal: true 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
135 entries across 135 versions & 1 rubygems