diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 2b92c8cc1..6abefad23 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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