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

Version Path
alchemy_cms-7.3.4 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.3.3 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.3.2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.7 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.3.1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.3.0 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.6 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.5 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.1.12 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.0.15 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.1.10 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.4 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.1.11 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.3 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.1.10 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.1.9 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.0.14 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.2.1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-7.0.13 app/mailers/alchemy/base_mailer.rb