method

collect_engine_routes

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: RoutesInspector
collect_engine_routes(route) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 141
        def collect_engine_routes(route)
          name = route.endpoint
          return unless route.engine?
          return if @engines[name]

          routes = route.rack_app.routes
          if routes.is_a?(ActionDispatch::Routing::RouteSet)
            @engines[name] = collect_routes(routes.routes)
          end
        end
Register or log in to add new notes.