Flowdock
method

collect_engine_routes

Importance_0
v5.0.0.1 - Show latest stable - 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 115
      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.