1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Temp routing directly to named controller

Need the singleton to live somewhere proper.
This commit is contained in:
David Heinemeier Hansson 2018-09-19 16:22:53 -07:00
parent 9cecd74239
commit af360244d2

View file

@ -2,6 +2,6 @@ class ActionMailroom::DeliverInboundEmailToMailroomJob < ActiveJob::Base
queue_as :action_mailroom_inbound_email
def perform(inbound_email)
ActionMailroom::Mailbox.route inbound_email
ApplicationMailbox.route inbound_email
end
end