Download a file after form submission laravel 5.6

Posted 10 months ago by Nagraj722

i want to download a file after successful form submission. return redirect()->route('form.success')->download($pathToFile); Thanks

Please sign in or create an account to participate in this conversation.