Skip to content

Commit

Permalink
remove useless method
Browse files Browse the repository at this point in the history
the caller of `handle_conditional_get!` checks the committed state of
the response, so we don't need to in the subclass.
  • Loading branch information
tenderlove committed Sep 28, 2015
1 parent fb03a9a commit 64df657
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions actionpack/lib/action_controller/metal/live.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ def build_buffer(response, body)
body.each { |part| buf.write part }
buf
end

def handle_conditional_get!
super unless committed?
end
end

def process(name)
Expand Down

0 comments on commit 64df657

Please sign in to comment.