dimanche 1 novembre 2015

MethodNotAllowedHttpException Laravel method PUT not working

Basically I am using modal-dialog as shown below and I'm trying to get the method PUT to work. Unfortunately, I've tried either ways with _method="PUT" but it still doesn't work, anyone has a solution for this?

<div class="modal-body">
                  <form class="form-horizontal" role="form" method="POST" _method="PUT" action="/manage_accounts/{{ $user->id }}" novalidate>
                   <input type="hidden" name="_token" value="{{ csrf_token() }}">
                   <div class="form-group">



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire