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