From b755522a7323d465e78e89c8be6fb9cd5b44beda Mon Sep 17 00:00:00 2001 From: Alp Keser Date: Tue, 3 Feb 2026 11:52:02 +0300 Subject: [PATCH] Add notification.source_type.underscore --- app/views/notifications/_notification.json.jbuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/notifications/_notification.json.jbuilder b/app/views/notifications/_notification.json.jbuilder index 5673097a7..d4dce9fff 100644 --- a/app/views/notifications/_notification.json.jbuilder +++ b/app/views/notifications/_notification.json.jbuilder @@ -3,6 +3,7 @@ json.cache! notification do json.read notification.read? json.read_at notification.read_at&.utc json.created_at notification.created_at.utc + json.source_type notification.source_type.underscore json.partial! "notifications/notification/#{notification.source_type.underscore}/body", notification: notification