I'm using laravel-activitylog.
When a record is deleted the $activity->subject is null.
On updated and created the $activity->subject returns the model object.
Is there any way I can return the subject on deleted too?
I'm using laravel-activitylog.
When a record is deleted the $activity->subject is null.
On updated and created the $activity->subject returns the model object.
Is there any way I can return the subject on deleted too?
Copyright © 2021 Jogjafile Inc.
you can use soft-delete where actual record should not be deleted and you can able to pass the deleted object