Fixed todos with log message

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2024-10-21 16:52:21 +01:00
parent ef9b6e3b07
commit 787e651778
8 changed files with 13 additions and 8 deletions
@@ -132,7 +132,9 @@ class UserFilesController extends Controller
}
}
// todo
// The log record doesn't exist somehow
return redirect()->route('users.show', ['user' => $user])->with('error', trans('general.log_record_not_found'));
return redirect()->back()->with('error', trans('general.file_not_found'));
}