app/mailers/alchemy/base_mailer.rb in alchemy_cms-4.6.7 vs app/mailers/alchemy/base_mailer.rb in alchemy_cms-5.0.0.beta1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Alchemy
begin
- base_class = Object.const_get('::ApplicationMailer')
+ base_class = Object.const_get("::ApplicationMailer")
rescue NameError
base_class = ActionMailer::Base
end
# The +BaseMailer+ is the class all Alchemy mailers inherit from.