fix(loading): in initializer, dolist must be manually loaded

This commit is contained in:
Colin Darie 2023-04-27 13:01:50 +02:00
parent 109504d9be
commit 33a1e0f22d
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -1,3 +1,5 @@
ActiveSupport.on_load(:action_mailer) do
require "dolist/api_sender"
ActionMailer::Base.add_delivery_method :dolist_api, Dolist::APISender
end