Flowdock
method

discover_rack_app

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: RouteInspector
discover_rack_app(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 74
      def discover_rack_app(app)
        class_name = app.class.name.to_s
        if class_name == "ActionDispatch::Routing::Mapper::Constraints"
          discover_rack_app(app.app)
        elsif class_name !~ /^ActionDispatch::Routing/
          app
        end
      end
Register or log in to add new notes.