From 64df657026010a6c0500a17f64cd39a9996dc58e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 28 Sep 2015 13:50:50 -0700 Subject: 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. --- actionpack/lib/action_controller/metal/live.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'actionpack') 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) -- cgit v1.2.3