Task 4 - download file

This commit is contained in:
PovilasKorop
2021-12-06 08:10:53 +02:00
parent c72be05cea
commit eb7cf686ea
4 changed files with 30 additions and 1 deletions
+6
View File
@@ -33,4 +33,10 @@ class HouseController extends Controller
return 'Success';
}
public function download(House $house)
{
// TASK: Return the $house->photo file from "storage/app/houses" folder
// for download in browser
}
}