mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:20:45 +08:00
Revert "DEV: Upgrade Rails to version 7.1 (#27539)"
This reverts commit ca4af53be8cb91aa3fe48ecbcf5a578189be32fa.
This commit is contained in:

committed by
Loïc Guitaut

parent
60d5170587
commit
160011793a
@ -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
|
||||
|
Reference in New Issue
Block a user