How can I send a notification without having to use the user model?
public function SendSeguimiento(Request $request){
$toUser = Clientes::find(2);
Notification::send($toUser, new Seguimiento($toUser));
// $pageName = 'widgets';
return redirect()->route("clientes");
}
i try to send a notification to the email of the table 'Clientes' in row 2
Error:
help pls
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire