Tag Archives: form action in laravel redirecting to different controller

{{ Form::open}} is not working in laravel

If we use the below form action in view file. action is not working it is redirecting to some other controller in the routes {{ Form::open(array(‘action’ => ‘mycontorller@downloadmyfile’, ‘name’=>’mysubmit’,’id’=>’mysubmit’)) }} To fix this we can use the below code for form action