Skip to content

Commit

Permalink
remove useless method
Browse files Browse the repository at this point in the history
the subclass sets the body on the response object, so we don't need the
superclass doing it too
  • Loading branch information
tenderlove committed Aug 26, 2015
1 parent 3cc35be commit 6570ab7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions actionpack/lib/action_controller/metal/rack_delegation.rb
Expand Up @@ -14,11 +14,6 @@ def build_with_env(env = {}) #:nodoc:
end
end

def response_body=(body)
response.body = body if response
super
end

def reset_session
@_request.reset_session
end
Expand Down

0 comments on commit 6570ab7

Please sign in to comment.