aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/new_base/base.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-21 20:22:18 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-21 20:27:24 -0700
commit4c52ba278b8e349bc18cb89086af765d0828f0af (patch)
tree5b06e9a44f696f009c350281891062643620e00c /actionpack/lib/action_controller/new_base/base.rb
parent8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5 (diff)
downloadrails-4c52ba278b8e349bc18cb89086af765d0828f0af.tar.gz
rails-4c52ba278b8e349bc18cb89086af765d0828f0af.tar.bz2
rails-4c52ba278b8e349bc18cb89086af765d0828f0af.zip
Move Safari response-padding fix to Rails2Compatibility. Should be a Rack concern.
Diffstat (limited to 'actionpack/lib/action_controller/new_base/base.rb')
-rw-r--r--actionpack/lib/action_controller/new_base/base.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/actionpack/lib/action_controller/new_base/base.rb b/actionpack/lib/action_controller/new_base/base.rb
index fae08c58b2..88686d29d0 100644
--- a/actionpack/lib/action_controller/new_base/base.rb
+++ b/actionpack/lib/action_controller/new_base/base.rb
@@ -110,11 +110,7 @@ module ActionController
options = _normalize_options(action, options, &blk)
super(options)
end
-
- def render_to_body(options)
- super || [" "]
- end
-
+
# Redirects the browser to the target specified in +options+. This parameter can take one of three forms:
#
# * <tt>Hash</tt> - The URL will be generated by calling url_for with the +options+.
@@ -172,4 +168,4 @@ module ActionController
super(url, status)
end
end
-end \ No newline at end of file
+end