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

ActionController::DataStreaming::FileBody doesn't respond to #close.

This commit is contained in:
Rafael Mendonça França 2012-07-29 23:38:33 -03:00
parent a6bdae1c19
commit d4433a3521

View file

@ -212,7 +212,7 @@ module ActionDispatch # :nodoc:
end
def close
stream.close
stream.close if stream.respond_to?(:close)
end
def to_a