Commit 1c38dbca authored by Lin Jen-Shin's avatar Lin Jen-Shin

Revert "Revert this until we do notifications"

This reverts commit c5e0305d.
parent 8ea702cf
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment