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-5.2.3 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.pre.rc2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.1.6 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.0.6 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.2.2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.1.5 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.0.5 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.pre.rc1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.pre.b6 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.pre.b5 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.pre.b4 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.b3 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.b2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-6.0.0.b1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.2.1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.1.4 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.0.4 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.1.3 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.2.0 app/mailers/alchemy/base_mailer.rb
alchemy_cms-5.2.0.rc1 app/mailers/alchemy/base_mailer.rb