Skip to content

Commit

Permalink
Update HouseController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OhmygoodR authored Feb 13, 2024
1 parent 1af48c4 commit d9035c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/HouseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ public function download(House $house)
{
// TASK: Return the $house->photo file from "storage/app/houses" folder
// for download in browser
return Storage::download(storage_path('app/houses/'.$house->photo));
return Storage::download(storage_path('app/'.$house->photo));
}
}

0 comments on commit d9035c8

Please sign in to comment.