mail-notify 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "rails/mailers_controller"
4
-
5
- module Mail
6
- module Notify
7
- class Railtie < Rails::Railtie
8
- initializer "mail-notify.add_delivery_method", before: "action_mailer.set_configs" do
9
- ActionMailer::Base.add_delivery_method(:notify, Mail::Notify::DeliveryMethod)
10
- end
11
-
12
- initializer "mail-notify.action_controller" do
13
- ActiveSupport.on_load(:action_controller, run_once: true) do
14
- Rails::MailersController.prepend(Mail::Notify::MailersController)
15
- end
16
- end
17
- end
18
- end
19
- end