lib/acfs/middleware/base.rb in acfs-0.5.1 vs lib/acfs/middleware/base.rb in acfs-0.6.0

- old
+ new

@@ -11,10 +11,10 @@ @app = app @options = options end def call(request) - request.on_complete { |res| response(res) } if respond_to? :response + request.on_complete { |res, nxt| response(res, nxt) } if respond_to? :response app.call(request) end end end end