aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-10-19 13:11:13 -0400
committerGeorge Claghorn <george@basecamp.com>2018-10-19 13:11:19 -0400
commitdbeef18b3ff04ce9ae8a53511f2afd0c7bae99e1 (patch)
tree8d411b134bcfcbe916b2f35cb686aa6b40389e01 /app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb
parentf33ccec86c02205cc82dd14dea24a5ad3f27f502 (diff)
downloadrails-dbeef18b3ff04ce9ae8a53511f2afd0c7bae99e1.tar.gz
rails-dbeef18b3ff04ce9ae8a53511f2afd0c7bae99e1.tar.bz2
rails-dbeef18b3ff04ce9ae8a53511f2afd0c7bae99e1.zip
Rely on the 204 No Content default response
Diffstat (limited to 'app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb')
-rw-r--r--app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb b/app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb
index d34257f9e9..72303378a9 100644
--- a/app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb
+++ b/app/controllers/action_mailbox/ingresses/postfix/inbound_emails_controller.rb
@@ -6,7 +6,6 @@ class ActionMailbox::Ingresses::Postfix::InboundEmailsController < ActionMailbox
def create
ActionMailbox::InboundEmail.create_and_extract_message_id! request.body.read
- head :no_content
end
private