aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-10-19 23:14:47 -0400
committerGeorge Claghorn <george@basecamp.com>2018-10-19 23:14:47 -0400
commit02fcfec0c682cb3ff175927155a37e934ee1d0fe (patch)
tree97eff53892179cfe13a0598cd3f135d645acb8a7 /app
parentb3641075fc4568b783f59b919fc8a5fb795d09ce (diff)
downloadrails-02fcfec0c682cb3ff175927155a37e934ee1d0fe.tar.gz
rails-02fcfec0c682cb3ff175927155a37e934ee1d0fe.tar.bz2
rails-02fcfec0c682cb3ff175927155a37e934ee1d0fe.zip
Skip needless array allocation
Diffstat (limited to 'app')
-rw-r--r--app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb2
1 files changed, 1 insertions, 1 deletions
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