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

Version Path
alchemy_cms-3.6.7 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.6 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.5 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.4 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.3 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-4.0.0.beta app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.6.0 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.5.0 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.4.2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.5.0.rc2 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.5.0.rc1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.4.1 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.4.0 app/mailers/alchemy/base_mailer.rb
alchemy_cms-3.4.0.rc1 app/mailers/alchemy/base_mailer.rb