filter_routes(routes, filter) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 147
        def filter_routes(routes, filter)
          if filter
            routes.select do |route|
              filter.any? { |filter_type, value| route.matches_filter?(filter_type, value) }
            end
          else
            routes
          end
        end
Register or log in to add new notes.