feat: Customisable Email Templates (#1095)

This commit is contained in:
Sojan Jose
2020-08-06 15:21:06 +05:30
committed by GitHub
parent db877453a4
commit a04ca24def
27 changed files with 409 additions and 44 deletions

View File

@@ -8,7 +8,7 @@ class Notification::EmailNotificationService
# TODO : Clean up whatever happening over here
# Segregate the mailers properly
AgentNotifications::ConversationNotificationsMailer.public_send(notification
AgentNotifications::ConversationNotificationsMailer.with(account: notification.account).public_send(notification
.notification_type.to_s, notification.primary_actor, notification.user).deliver_now
end