mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 21:11:10 +08:00
DEV: Upgrade Rails to 7.1
This commit is contained in:

committed by
Loïc Guitaut

parent
69c99a82dd
commit
081b00391e
@ -34,7 +34,7 @@ module Middleware
|
||||
if exception
|
||||
begin
|
||||
fake_controller = ApplicationController.new
|
||||
fake_controller.response = response
|
||||
fake_controller.set_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