Flowdock
method

collect_engine_routes

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 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 117
        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.