aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-02-16 14:17:17 -0600
committerJoshua Peek <josh@joshpeek.com>2009-02-16 14:18:06 -0600
commit0096eb1555a3e61e89ff90eddefdc28739adc618 (patch)
treea1440b50f724f71d48c3e3fbd92674f0cc64b14a /actionpack
parent2414fdb244cc0ba97620dd3f50e269d2e26c7392 (diff)
downloadrails-0096eb1555a3e61e89ff90eddefdc28739adc618.tar.gz
rails-0096eb1555a3e61e89ff90eddefdc28739adc618.tar.bz2
rails-0096eb1555a3e61e89ff90eddefdc28739adc618.zip
Removed dead convert_expires! in Response [#1952 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/response.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/response.rb b/actionpack/lib/action_controller/response.rb
index 671699762d..ccff473df0 100644
--- a/actionpack/lib/action_controller/response.rb
+++ b/actionpack/lib/action_controller/response.rb
@@ -144,7 +144,6 @@ module ActionController # :nodoc:
set_content_length!
convert_content_type!
convert_language!
- convert_expires!
convert_cookies!
end
@@ -226,10 +225,6 @@ module ActionController # :nodoc:
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