fix(loading): in initializer, dolist must be manually loaded
This commit is contained in:
parent
109504d9be
commit
33a1e0f22d
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
ActiveSupport.on_load(:action_mailer) do
|
ActiveSupport.on_load(:action_mailer) do
|
||||||
|
require "dolist/api_sender"
|
||||||
|
|
||||||
ActionMailer::Base.add_delivery_method :dolist_api, Dolist::APISender
|
ActionMailer::Base.add_delivery_method :dolist_api, Dolist::APISender
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue