Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

How did you open the form tag?

I think this should work

{{ Form::open(['action' => 'HomeController@postIndex']) }}
Last updated 1 year ago.
0
Solution

Just change/create a different post URL as a work around. Reported as BUG

Last updated 1 year ago.
0

@lucasfercunha

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');
Last updated 1 year ago.
0

This solution:

Form will work if you change the route below.

Route::post('post-index', 'HomeController@postIndex');

forks fine, thanks!

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

yajra yajra Joined 11 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.