Надеюсь теперь работает
This commit is contained in:
parent
429f77cfe1
commit
b4ea9a0665
|
@ -30,7 +30,7 @@ class YoutubeDownloadController extends Controller
|
|||
$videotitle = $video->getFile()->getFilename(); // Will return Phonebloks
|
||||
// $video->getFile(); // \SplFileInfo instance of downloaded file
|
||||
//$file_path = public_path('/downloads/'.$videotitle);
|
||||
return redirect('/download/'.$videotitle);
|
||||
return redirect()->route('/download/'.$videotitle);
|
||||
//return response()->download($file_path);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue