1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Aaron Patterson 2015-09-28 13:50:50 -07:00
parent fb03a9ab35
commit 64df657026

View file

@ -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)