Flowdock
method

collect_engine_routes

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: RouteInspector
collect_engine_routes(name, rack_app) public

No documentation

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

Hide source
# File railties/lib/rails/application/route_inspector.rb, line 48
      def collect_engine_routes(name, rack_app)
        return unless rack_app && rack_app.respond_to?(:routes)
        return if @engines[name]

        routes = 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.