File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11*2.3.1 [RC2] (March 5, 2009)*
22
3+ * Fixed that redirection would just log the options, not the final url (which lead to "Redirected to #<Post:0x23150b8>") [DHH]
4+ 
35* Added ability to pass in :public => true to fresh_when, stale?, and expires_in to make the request proxy cachable #2095 [Gregg Pollack]
46
57* Fixed that passing a custom form builder would be forwarded to nested fields_for calls #2023 [Eloy Duran/Nate Wiger]
Original file line number Diff line number Diff line change @@ -1101,7 +1101,6 @@ def redirect_to(options = {}, response_status = {}) #:doc:
11011101        end 
11021102
11031103        response . redirected_to  =  options 
1104-         logger . info ( "Redirected to #{ options }  " )  if  logger  && logger . info? 
11051104
11061105        case  options 
11071106          # The scheme name consist of a letter followed by any combination of 
@@ -1124,6 +1123,7 @@ def redirect_to(options = {}, response_status = {}) #:doc:
11241123
11251124      def  redirect_to_full_url ( url ,  status ) 
11261125        raise  DoubleRenderError  if  performed? 
1126+         logger . info ( "Redirected to #{ url }  " )  if  logger  && logger . info? 
11271127        response . redirect ( url ,  interpret_status ( status ) ) 
11281128        @performed_redirect  =  true 
11291129      end 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments