Revert this until we do notifications

This commit is contained in:
Lin Jen-Shin 2016-09-14 19:44:35 +08:00
parent 1404aa8677
commit c5e0305d5f

View file

@ -613,6 +613,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.model_name.name.underscore}".to_sym
"#{action}_#{object.class.name.underscore}".to_sym
end
end