Add notification.source_type.underscore

This commit is contained in:
Alp Keser
2026-02-03 11:52:02 +03:00
parent a6eb331710
commit b755522a73
@@ -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