Revert "DEV: Upgrade Rails to version 7.1 (#27539)"

This reverts commit 2301dddcff8c0efe551c3c3baeeea63dadbe0ea6.
This commit is contained in:
Loïc Guitaut
2024-06-20 11:42:17 +02:00
committed by Loïc Guitaut
parent e46a5e5343
commit 982c005979
46 changed files with 256 additions and 436 deletions

View File

@ -34,7 +34,7 @@ module Middleware
if exception
begin
fake_controller = ApplicationController.new
fake_controller.set_response!(response)
fake_controller.response = response
fake_controller.request = request = ActionDispatch::Request.new(env)
# We can not re-dispatch bad mime types