Need to name the assignee(s)

This commit is contained in:
Jason Zimdars
2025-05-06 15:39:55 -05:00
parent d8c2591296
commit c2a563c699
+1 -1
View File
@@ -2,7 +2,7 @@ module NotificationsHelper
def event_notification_title(event)
case event_notification_action(event)
when "comment_created" then "RE: " + event.eventable.card.title
when "card_assigned" then "Assigned to you: " + event.eventable.title
when "card_assigned" then "Assigned to #{event.assignees.pluck(:name).to_sentence}: " + event.eventable.title
else event.eventable.title
end
end