method
call
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Reloader
call(env)public
No documentation available.
# File actionpack/lib/action_dispatch/middleware/reloader.rb, line 69
def call(env)
@validated = @condition.call
prepare!
response = @app.call(env)
response[2] = ::Rack::BodyProxy.new(response[2]) { cleanup! }
response
rescue Exception
cleanup!
raise
end