提交 1c38dbca 编写于 作者: L Lin Jen-Shin

Revert "Revert this until we do notifications"

This reverts commit c5e0305d.
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册