Sha256: 9cb9e916092314d797a525da5824485ced78f6f60612a974215dc1af203cfc4f
Contents?: true
Size: 582 Bytes
Versions: 39
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
39 entries across 39 versions & 1 rubygems