mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "DEV: Upgrade Rails to version 7.1 (#27539)"
This reverts commit 2301dddcff.
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