work
12/16/2021, 12:18 PMifox
12/16/2021, 2:28 PMdelta107
12/16/2021, 2:44 PMdelta107
12/16/2021, 2:44 PMifox
12/16/2021, 2:49 PMdelta107
12/16/2021, 2:50 PMwork
12/16/2021, 3:45 PMwork
12/16/2021, 3:46 PMifox
12/16/2021, 3:52 PMwork
12/16/2021, 3:53 PMwork
12/16/2021, 3:54 PMwork
12/16/2021, 3:55 PMRayderxx
12/16/2021, 8:18 PMSami
12/16/2021, 8:30 PMfiles formField but we ran into small issue - don't know how to download the file afterwards 😅
Using $entity->file('role') link throws 404 not found;pboivin
12/16/2021, 8:50 PMSami
12/16/2021, 8:50 PMpboivin
12/16/2021, 8:50 PMphp artisan storage:link ?Sami
12/16/2021, 8:50 PMSami
12/16/2021, 8:51 PMpboivin
12/16/2021, 8:51 PMpublic/storage that points to storage/app/uploads (or whatever you configured)pboivin
12/16/2021, 8:52 PMpublic/storage directly, I'm not sure if that would have any other implications...Sami
12/16/2021, 8:53 PMpboivin
12/16/2021, 8:54 PMSami
12/16/2021, 8:54 PMSami
12/16/2021, 8:55 PMSami
12/16/2021, 8:55 PMphp
Route::get('download-report/{caseStudy}', function (\App\Models\CaseStudy $caseStudy) {
return Response::download(storage_path() . '/app/public/uploads/files/' . $caseStudy->fileObject('report')->uuid);
})->name('case-study-report');pboivin
12/16/2021, 8:56 PMBA7YA
12/17/2021, 8:41 AMHarings Rob
12/17/2021, 10:28 AM