diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-14 14:45:18 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-10-17 10:24:48 +0300 |
commit | 1c38dbcadc23485ce1421f10d6062fb00221e0e1 (patch) | |
tree | bf8efa0c83f826711424a318f44f217802491e3f /app/services/notification_service.rb | |
parent | 8ea702cfe590e94ea496609f85ba0f23bda2dcce (diff) |
Revert "Revert this until we do notifications"
This reverts commit c5e0305d5fe150acd74a66efa46e3ee741642978.
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 65091c2b8af..4fef2395c6f 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -640,6 +640,6 @@ class NotificationService # Build event key to search on custom notification level # Check NotificationSetting::EMAIL_EVENTS def build_custom_key(action, object) - "#{action}_#{object.class.name.underscore}".to_sym + "#{action}_#{object.class.model_name.name.underscore}".to_sym end end |