instance method
routes_inspector
Ruby on Rails 8.0.4
Since v4.0.13 PrivateSignature
routes_inspector(exception)
No documentation comment.
Parameters
-
exceptionreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 194
def routes_inspector(exception)
if @routes_app.respond_to?(:routes) && (exception.routing_error? || exception.template_error?)
ActionDispatch::Routing::RoutesInspector.new(@routes_app.routes.routes)
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 194
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions