From 046bbc3cf87838dbb46b9fa73f881d28991127fb Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 2 Apr 2026 13:53:49 +1100 Subject: [PATCH] f-respondwith --- app/controllers/concerns/respond_with.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/respond_with.rb b/app/controllers/concerns/respond_with.rb index 8f1259f6a2..2b849392d5 100644 --- a/app/controllers/concerns/respond_with.rb +++ b/app/controllers/concerns/respond_with.rb @@ -35,7 +35,7 @@ module RespondWith def retrieve_collector_from_mimes(mimes = nil, &block) mimes ||= collect_mimes_from_class_level - collector = Collector.new(mimes, request.variant) + collector = ActionController::Base::Collector.new(mimes, request.variant) block.call(collector) if block_given? format = collector.negotiate_format(request)