Ensure we can properly create an activity log entry; always return soft-deleted models

This commit is contained in:
DaneEveritt 2022-05-29 17:07:54 -04:00
parent f1c1699994
commit 09832cc558
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 106 additions and 29 deletions

View file

@ -35,6 +35,6 @@ class ActivityLogSubject extends Pivot
public function subject()
{
return $this->morphTo();
return $this->morphTo()->withTrashed();
}
}