From af360244d2ceaa67db421c3beaf7ca47ea69e316 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 19 Sep 2018 16:22:53 -0700 Subject: [PATCH] Temp routing directly to named controller Need the singleton to live somewhere proper. --- .../action_mailroom/deliver_inbound_email_to_mailroom_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/action_mailroom/deliver_inbound_email_to_mailroom_job.rb b/app/jobs/action_mailroom/deliver_inbound_email_to_mailroom_job.rb index 299e6e6c2e..2a1ca97481 100644 --- a/app/jobs/action_mailroom/deliver_inbound_email_to_mailroom_job.rb +++ b/app/jobs/action_mailroom/deliver_inbound_email_to_mailroom_job.rb @@ -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