lib/rails/info_controller.rb in railties-6.0.2.2 vs lib/rails/info_controller.rb in railties-6.0.3.rc1
- old
+ new
@@ -31,10 +31,9 @@
@page_title = "Routes"
end
end
private
-
def match_route
_routes.routes.select { |route|
yield route.path
}.map { |route| route.path.spec.to_s }
end