From 1bcfce0130d4fa13d56f58d5cd5e0f5de33e015f Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 16 Dec 2008 20:21:27 -0600 Subject: Remove set_cookie hack from rack response since we dont use cgi sessions anymore --- actionpack/lib/action_controller/rack_process.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'actionpack/lib/action_controller/rack_process.rb') diff --git a/actionpack/lib/action_controller/rack_process.rb b/actionpack/lib/action_controller/rack_process.rb index e783839f34..778c3c256f 100644 --- a/actionpack/lib/action_controller/rack_process.rb +++ b/actionpack/lib/action_controller/rack_process.rb @@ -84,10 +84,6 @@ module ActionController #:nodoc: end def out(&block) - # Nasty hack because CGI sessions are closed after the normal - # prepare! statement - set_cookies! - @block = block @status = headers.delete("Status") if [204, 304].include?(status.to_i) @@ -132,7 +128,7 @@ module ActionController #:nodoc: convert_language! convert_expires! set_status! - # set_cookies! + set_cookies! end private -- cgit v1.2.3