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

committed by
Loïc Guitaut

parent
e46a5e5343
commit
982c005979
@ -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