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:
parent
a6bdae1c19
commit
d4433a3521
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ module ActionDispatch # :nodoc:
|
|||
end
|
||||
|
||||
def close
|
||||
stream.close
|
||||
stream.close if stream.respond_to?(:close)
|
||||
end
|
||||
|
||||
def to_a
|
||||
|
|
Loading…
Reference in a new issue