Ensure we can properly create an activity log entry; always return soft-deleted models
This commit is contained in:
parent
f1c1699994
commit
09832cc558
5 changed files with 106 additions and 29 deletions
|
@ -35,6 +35,6 @@ class ActivityLogSubject extends Pivot
|
|||
|
||||
public function subject()
|
||||
{
|
||||
return $this->morphTo();
|
||||
return $this->morphTo()->withTrashed();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue