method

routes_inspector

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