diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 897d46c3a..208456ac2 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -25,7 +25,7 @@ module NotificationsHelper ) if target_user.assignments_notification - UserNotification.create(notification: notification, user: target_user) + notification.create_user_notification(target_user) end end end