aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-28 13:50:50 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-28 13:51:00 -0700
commit64df657026010a6c0500a17f64cd39a9996dc58e (patch)
treeefd75a8c1d198e7602df10dd535c8376d34a1dee /actionpack
parentfb03a9ab35ed22e569ec9cef8a50ef72754b5dbe (diff)
downloadrails-64df657026010a6c0500a17f64cd39a9996dc58e.tar.gz
rails-64df657026010a6c0500a17f64cd39a9996dc58e.tar.bz2
rails-64df657026010a6c0500a17f64cd39a9996dc58e.zip
remove useless method
the caller of `handle_conditional_get!` checks the committed state of the response, so we don't need to in the subclass.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/live.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb
index 5de5b02b32..7db8d13e24 100644
--- a/actionpack/lib/action_controller/metal/live.rb
+++ b/actionpack/lib/action_controller/metal/live.rb
@@ -233,10 +233,6 @@ module ActionController
body.each { |part| buf.write part }
buf
end
-
- def handle_conditional_get!
- super unless committed?
- end
end
def process(name)