Create system comments on events
This commit is contained in:
@@ -12,6 +12,10 @@ module Comment::Eventable
|
||||
end
|
||||
|
||||
private
|
||||
def should_track_event?
|
||||
!creator.system?
|
||||
end
|
||||
|
||||
def track_creation
|
||||
track_event("created", collection: card.collection)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user