Fix handling of "406 unsupported browser" responses

Broken in 84b8bb0a
This commit is contained in:
Mike Dalessio
2025-09-09 17:07:24 -04:00
parent 156694ba52
commit 93c3730ec9
+1 -1
View File
@@ -2,5 +2,5 @@ class ApplicationController < ActionController::Base
include Authentication, CurrentRequest, CurrentTimezone, SetPlatform, TurboFlash, WriterAffinity
stale_when_importmap_changes
allow_browser versions: :modern
allow_browser versions: :modern, block: -> { render "errors/not_acceptable", layout: "error" }
end