From 2757cd8e62b0f37fe5d9f3b51e9f4dd976207d9d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 16 Apr 2025 16:49:16 +0200 Subject: [PATCH] Dont render inline --- app/models/notification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/notification.rb b/app/models/notification.rb index 617b2c0d4..e6a32ef3c 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -25,6 +25,6 @@ class Notification < ApplicationRecord private def broadcast - broadcast_prepend_to user, :notifications, target: "notifications" + broadcast_prepend_later_to user, :notifications, target: "notifications" end end