method

match_route

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Rails::InfoController
match_route() private

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/info_controller.rb, line 36
    def match_route
      _routes.routes.select { |route|
        yield route.path
      }.map { |route| route.path.spec.to_s }
    end
Register or log in to add new notes.