From 456d79b853aaec14f14c4c4deaa04cfb66c5b357 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 28 Sep 2018 11:01:49 -0700 Subject: Extract MessageId concern --- app/controllers/action_mailroom/inbound_emails_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') 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 -- cgit v1.2.3