method
routes_inspector
v7.1.3.4 -
Show latest stable
- Class:
ActionDispatch::DebugExceptions
routes_inspector(exception)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 171
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