Sha256: 68dcc0398184963ae19d147c38595e656719775ba4d251fe4721f64714c35d29
Contents?: true
Size: 422 Bytes
Versions: 6
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true ActiveSupport.on_load(:action_mailer, { yield: true }) do |action_mailer| action_mailer.class_eval do # To support Rails less than 6 def bootstrap_mail(*args, &block) message = mail(*args, &block) BootstrapEmail::Rails::MailBuilder.perform(message) end alias_method :bootstrap_email, :bootstrap_mail alias_method :make_bootstrap_mail, :bootstrap_mail end end
Version data entries
6 entries across 6 versions & 1 rubygems