feat: complete comment history

This commit is contained in:
2026-08-18 12:46:51 -07:00
parent 68c6250160
commit 963abf10fb
11 changed files with 344 additions and 7 deletions
+18
View File
@@ -8,3 +8,21 @@ if (!function_exists('getUserFullName')) {
return $user->first_name . ' ' . $user->last_name;
}
}
if (!function_exists('getFileUrl')) {
function getFileUrl(?int $fileId): ?string
{
if (!$fileId){
return null;
}
$file = \App\Models\File::find($fileId);
if (!$file) {
return null;
}
return asset('storage/' . $file->path);
}
}