From 02fcfec0c682cb3ff175927155a37e934ee1d0fe Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Fri, 19 Oct 2018 23:14:47 -0400 Subject: Skip needless array allocation --- .../action_mailbox/ingresses/mandrill/inbound_emails_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb index 0b01087c3d..31e1315ccd 100644 --- a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb +++ b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb @@ -49,7 +49,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ActionMailbo end def message - [ request.original_url, request.POST.sort ].flatten.join + request.url + request.POST.sort.flatten.join end end end -- cgit v1.2.3