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:
parent
fb03a9ab35
commit
64df657026
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue