diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-28 13:50:50 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-28 13:51:00 -0700 |
commit | 64df657026010a6c0500a17f64cd39a9996dc58e (patch) | |
tree | efd75a8c1d198e7602df10dd535c8376d34a1dee | |
parent | fb03a9ab35ed22e569ec9cef8a50ef72754b5dbe (diff) | |
download | rails-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.
-rw-r--r-- | actionpack/lib/action_controller/metal/live.rb | 4 |
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) |