# File lib/action_dispatch/routing/url_for.rb, line 150
        def _with_routes(routes)
          old_routes, @_routes = @_routes, routes
          yield
        ensure
          @_routes = old_routes
        end