0

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?

apokryfos
  • 38,771
  • 9
  • 70
  • 114
grimdbx
  • 175
  • 2
  • 12

1 Answers1

0

you can use soft-delete where actual record should not be deleted and you can able to pass the deleted object

Rushikesh Ganesh
  • 290
  • 2
  • 16