diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index c83b682f6942877f881fef7c66c1517bd029730a..d860e002173a66fa46c12f6ef779c77cf3947745 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -265,9 +265,6 @@ def delete_cookie(key, value={}) end # The location header we'll be responding with. - def location - headers[LOCATION] - end alias_method :redirect_url, :location # Sets the location header we'll be responding with.