From 092f74080c85ae343fcd97ad5f88fb019ab421c0 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Jun 2014 12:06:58 -0700 Subject: [PATCH] remove another wasteful AS::SafeBuffer allocation --- actionpack/lib/action_dispatch/routing/redirection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/routing/redirection.rb b/actionpack/lib/action_dispatch/routing/redirection.rb index b1b39a5496..3c1c4fadf6 100644 --- a/actionpack/lib/action_dispatch/routing/redirection.rb +++ b/actionpack/lib/action_dispatch/routing/redirection.rb @@ -37,7 +37,7 @@ module ActionDispatch uri.host ||= req.host uri.port ||= req.port unless req.standard_port? - body = %(You are being redirected.) + body = %(You are being redirected.) headers = { 'Location' => uri.to_s,