instance method
call
Ruby on Rails 8.1.2
Since v5.2.8.1Signature
call(env)
No documentation comment.
Parameters
-
envreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_locks.rb, line 35
def call(env)
req = ActionDispatch::Request.new env
if req.get?
path = req.path_info.chomp("/")
if path == @path
return render_details(req)
end
end
@app.call(env)
end
Defined in actionpack/lib/action_dispatch/middleware/debug_locks.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugLocks