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