How did you open the form tag?
I think this should work
{{ Form::open(['action' => 'HomeController@postIndex']) }}
Just change/create a different post URL as a work around. Reported as BUG
Not working route:
Route::post('/', 'HomeController@postIndex');
{{Form::open(array('class'=>'form-horizontal validate','action'=>'HomeController@postIndex' ))}}
Form will work if you change the route below.
Route::post('post-index', 'HomeController@postIndex');
This solution:
Form will work if you change the route below.
Route::post('post-index', 'HomeController@postIndex');
forks fine, thanks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community