diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-19 15:52:16 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-19 15:52:16 -0700 |
commit | da697e84445f8f750b8a7d0fa916f429eda8aae4 (patch) | |
tree | 510ad1391fedcdc7a3433ef4af128007fa7fbfa0 /app/jobs | |
parent | ee6d9545dd69a96ae30fdacf264db83fbaa1e4dd (diff) | |
download | rails-da697e84445f8f750b8a7d0fa916f429eda8aae4.tar.gz rails-da697e84445f8f750b8a7d0fa916f429eda8aae4.tar.bz2 rails-da697e84445f8f750b8a7d0fa916f429eda8aae4.zip |
Attach a concrete router to the root mailbox and use it
Don't think this is how it's going to stay. Doesn't feel like the right place for it.
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/action_mailroom/deliver_inbound_email_to_mailroom_job.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 0aeccff96e..bc5150afcb 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 @@ -3,7 +3,7 @@ module ActionMailroom queue_as :action_mailroom_inbound_email def perform(inbound_email) - # ActionMailroom::Router.receive inbound_email + ActionMailroom::Mailbox.route inbound_email end end end |