I installed laravelcollective and am trying to run the following code
{!! Form::open(['action' => 'ProductController@store','method' => 'POST']) !!}
<div class="form-group">
{{Form::label('title','Title')}}
{{Form::text('title',['class' => 'form-control', 'placeholder' => 'Title'])}}
</div>
{!! Form::close() !!}
I get this error
App\Http\Controllers\ProductController@store not defined. (View: /Applications/MAMP/htdocs/lsapp/resources/views/product/create.blade.php)
When I run php artisan route:list I see:
| | GET|HEAD | api/user | | Closure | api,auth:api |
| | POST | events | events.store | App\Http\Controllers\eventcontroller@store | web |
| | GET|HEAD | events | events.index | App\Http\Controllers\eventcontroller@index | web |
| | GET|HEAD | events/create | events.create | App\Http\Controllers\eventcontroller@create | web |
| | PUT|PATCH | events/{event} | events.update | App\Http\Controllers\eventcontroller@update | web |
| | GET|HEAD | events/{event} | events.show | App\Http\Controllers\eventcontroller@show | web |
| | DELETE | events/{event} | events.destroy | App\Http\Controllers\eventcontroller@destroy | web |
| | GET|HEAD | events/{event}/edit | events.edit | App\Http\Controllers\eventcontroller@edit | web |
| | GET|HEAD | home | home | App\Http\Controllers\HomeController@index | web,auth |
| | POST | login | | App\Http\Controllers\Auth\LoginController@login | web,guest |
| | GET|HEAD | login | login | App\Http\Controllers\Auth\LoginController@showLoginForm | web,guest |
| | POST | logout | logout | App\Http\Controllers\Auth\LoginController@logout | web |
| | POST | password/email | password.email | App\Http\Controllers\Auth\ForgotPasswordController@sendResetLinkEmail | web,guest |
| | GET|HEAD | password/reset | password.request | App\Http\Controllers\Auth\ForgotPasswordController@showLinkRequestForm | web,guest |
| | POST | password/reset | | App\Http\Controllers\Auth\ResetPasswordController@reset | web,guest |
| | GET|HEAD | password/reset/{token} | password.reset | App\Http\Controllers\Auth\ResetPasswordController@showResetForm | web,guest |
| | POST | register | | App\Http\Controllers\Auth\RegisterController@register | web,guest |
| | GET|HEAD | register | register | App\Http\Controllers\Auth\RegisterController@showRegistra