From e9f215d9f2e3ac700d28730bcb7ad5c490515e61 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Jun 2014 12:05:52 -0700 Subject: eliminate wasteful AS::SafeBuffer allocation --- actionpack/lib/action_controller/metal/redirecting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index 136e086d0d..3feb737277 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -72,7 +72,7 @@ module ActionController self.status = _extract_redirect_to_status(options, response_status) self.location = _compute_redirect_to_location(options) - self.response_body = "You are being redirected." + self.response_body = "You are being redirected." end def _compute_redirect_to_location(options) #:nodoc: -- cgit v1.2.3