I know that this question may have been made but I just can't get it to work. if someone could help me I would be very grateful. I have colletive/form installed but the answer can be an html form tag too.
Now listing my form, my route and my exception.
{{ Form::model( array('route' => array('casas.update', 238), 'method' => 'PUT')) }}
<input type="hidden" name="_method" value="PUT">
-
Route::resource('casas', 'CasasController');
exception: MethodNotAllowedHttpException in RouteCollection.php line 218:
With plain html / blade
Wirth Laravel Collective it may look like
In both cases it's assumed that you pass a model instance
$casa
into your blade templateIn your controller