Permalink
Browse files

Removed dead convert_expires! in Response [#1952 state:resolved]

Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
1 parent 2414fdb commit 0096eb1555a3e61e89ff90eddefdc28739adc618 @josh josh committed Feb 16, 2009
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/lib/action_controller/response.rb
@@ -144,7 +144,6 @@ def prepare!
set_content_length!
convert_content_type!
convert_language!
- convert_expires!
convert_cookies!
end
@@ -226,10 +225,6 @@ def convert_language!
headers["Content-Language"] = headers.delete("language") if headers["language"]
end
- def convert_expires!
- headers["Expires"] = headers.delete("") if headers["expires"]
- end
-
def convert_cookies!
headers['Set-Cookie'] = Array(headers['Set-Cookie']).compact
end

0 comments on commit 0096eb1

Please sign in to comment.