Delete attachment's file on disk
This commit is contained in:
@@ -100,10 +100,10 @@ trait Uploads
|
||||
return false;
|
||||
}
|
||||
|
||||
return Storage::path($path);
|
||||
return $path;
|
||||
}
|
||||
|
||||
public function streamMedia($media, $path = '')
|
||||
public function streamMedia($media)
|
||||
{
|
||||
return response()->streamDownload(
|
||||
function() use ($media) {
|
||||
|
||||
Reference in New Issue
Block a user