method

match_route

rails latest stable - Class: Rails::InfoController

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

match_route()
private

No documentation available.

# File railties/lib/rails/info_controller.rb, line 36
    def match_route
      _routes.routes.filter_map { |route| route.path.spec.to_s if yield route.path }
    end