public function saving($attack) { parent::saving($attack); $attack->updatedBy()->associate(auth()->user()->id); }
public function saving($tree) { parent::saving($tree); $tree->updatedBy()->associate(auth()->user()->id); }