lib/hanami/action/glue.rb in hanami-controller-0.8.1 vs lib/hanami/action/glue.rb in hanami-controller-1.0.0.beta1
- old
+ new
@@ -57,10 +57,10 @@
#
# @return [TrueClass,FalseClass] the result of the check
#
# @since 0.4.3
def sending_file?
- @_body.is_a?(::Rack::File)
+ @_body.is_a?(::Rack::File::Iterator)
end
end
end
end