File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
*2.3.1 [RC2] (March 5, 2009)*
2
2
3
+ * Fixed that redirection would just log the options, not the final url (which lead to "Redirected to #<Post:0x23150b8>") [DHH]
4
+
3
5
* Added ability to pass in :public => true to fresh_when, stale?, and expires_in to make the request proxy cachable #2095 [Gregg Pollack]
4
6
5
7
* 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:
1101
1101
end
1102
1102
1103
1103
response . redirected_to = options
1104
- logger . info ( "Redirected to #{ options } " ) if logger && logger . info?
1105
1104
1106
1105
case options
1107
1106
# The scheme name consist of a letter followed by any combination of
@@ -1124,6 +1123,7 @@ def redirect_to(options = {}, response_status = {}) #:doc:
1124
1123
1125
1124
def redirect_to_full_url ( url , status )
1126
1125
raise DoubleRenderError if performed?
1126
+ logger . info ( "Redirected to #{ url } " ) if logger && logger . info?
1127
1127
response . redirect ( url , interpret_status ( status ) )
1128
1128
@performed_redirect = true
1129
1129
end
You can’t perform that action at this time.
0 commit comments