summaryrefslogtreecommitdiff
path: root/app/services/notification_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index 841912b72c5..369bc874843 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -524,7 +524,8 @@ class NotificationService
end
end
- # Builds key to be used if user has custom notification setting
+ # 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
end