aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-09-28 11:01:49 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-09-28 11:01:49 -0700
commit456d79b853aaec14f14c4c4deaa04cfb66c5b357 (patch)
tree89fb2d165eb28bd57b286f83cf3e7e89a9e9c37d /app/controllers
parentcfb927ce754199e93740e53aee4e6b40acb396c5 (diff)
downloadrails-456d79b853aaec14f14c4c4deaa04cfb66c5b357.tar.gz
rails-456d79b853aaec14f14c4c4deaa04cfb66c5b357.tar.bz2
rails-456d79b853aaec14f14c4c4deaa04cfb66c5b357.zip
Extract MessageId concern
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/action_mailroom/inbound_emails_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/action_mailroom/inbound_emails_controller.rb b/app/controllers/action_mailroom/inbound_emails_controller.rb
index 0723bd39c3..57e0530ac6 100644
--- a/app/controllers/action_mailroom/inbound_emails_controller.rb
+++ b/app/controllers/action_mailroom/inbound_emails_controller.rb
@@ -6,7 +6,7 @@ class ActionMailroom::InboundEmailsController < ActionController::Base
before_action :require_rfc822_message, only: :create
def create
- ActionMailroom::InboundEmail.create_from_raw_email!(params[:message])
+ ActionMailroom::InboundEmail.create_and_extract_message_id!(params[:message])
head :created
end