I just replaced the code in the View with:
{{Form::submit("Save", array("class"=>"btn btn-default"),$cat->id)}}
And works! so I reply to myself :).
{{ Form::open(array('method' => 'store', 'route' => array('cats.store'), 'class' => 'delete-form')) }}
method can't be stored can it? i thought it was post/update/put?
Ok, a method can't be stored, but a method can be a store method. I had taken the code from some other thread.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community