Completed all tasks

This commit is contained in:
Thuan Bui
2025-05-11 09:47:13 +09:00
parent 5b954e6ab6
commit f97944f52e
7 changed files with 11402 additions and 1290 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class CompanyController extends Controller
public function show(Company $company)
{
// TASK: retrieve the full URL to the uploaded photo file, using Spatie Media Library
$photo = '???';
$photo = $company->getFirstMediaUrl('companies');
return view('companies.show', compact('company', 'photo'));
}