method
match_route
rails latest stable - Class:
Rails::InfoController
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