title: Issue with delete http method in firefox and laravel
body: <p>Hi I have an issue in Laravel.
  I have a project in Laravel and I'm having issues in Firefox. In Chrome all is working fine.
  I have this admin view</p>
  
  <pre><code>@foreach ($messages as $message)
      &lt;tr&gt;
        &lt;td&gt;
        &lt;a href="{{ route('messages.show', $message-&gt;id) }}"&gt;
          {{ $message-&gt;id }}
        &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;{{ $message-&gt;nombre }}&lt;/td&gt;
        &lt;td&gt;{{ $message-&gt;email }}&lt;/td&gt;
        &lt;td&gt;{{ $message-&gt;mensaje }}&lt;/td&gt;
        &lt;td&gt;
          &lt;a class="btn btn-primary" href="{{ route('messages.edit',$message-&gt;id) }}"&gt;Editar&lt;/a&gt;
  
          &lt;form style="display:inline" action="{{ route('messages.destroy', $message-&gt;id)}} " method="post"&gt;
            {!! csrf_field() !!}
            {!! method_field('DELETE') !!}
            &lt;button type="submit" class="btn btn-danger" name="button"&gt;Eliminar&lt;/button&gt;
          &lt;/form&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
  
    @endforeach
  </code></pre>
  
  <p>I have a table with two buttons, second button is a form to delete the message. O have added method_field('DELETE')</p>
  
  <p>Here is my routes.</p>
  
  <pre><code>Route::get('mensajes', 'MessagesController@index')-&gt;name('messages.index');
  Route::get('mensajes/create', 'MessagesController@create')-&gt;name('messages.create');
  Route::post('mensajes', 'MessagesController@store')-&gt;name('messages.store');
  Route::get('mensajes/{id}', 'MessagesController@show')-&gt;name('messages.show');
  Route::get('mensajes/{id}/edit', 'MessagesController@edit')-&gt;name('messages.edit');
  Route::put('mensajes/{id}', 'MessagesController@update')-&gt;name('messages.update');
  Route::delete('mensajes/{id}', 'MessagesController@destroy')-&gt;name('messages.destroy');
  </code></pre>
  
  <p>And here the MessagesController destroy method</p>
  
  <pre><code>public function destroy($id)
  {
      //borro el mensaje
      //DB::table('messages')-&gt;where('id', $id)-&gt;delete();
      Message::findOrFail($id)-&gt;delete();
  
      //redirecciono
      return redirect()-&gt;route('messages.index');
  }
  </code></pre>
  
  <p>In Chrome all works fine and message is deleted. But in Firefox, it redirects to /mensajes/{id} route and the message in shown. It seems in Firefox {!! method_field('DELETE') !!} is not working.
  Do anybody knows what I'm doing wrong?</p>
  
  <p>If I try to clear as proposed I get this message</p>
  
  <pre><code>Route cache cleared!
  
  LogicException  : Unable to prepare route [api/user] for serialization. Uses Closure.
  
  
  
  at C:\laragon\www\laraweb\vendor\laravel\framework\src\Illuminate\Routing\Route.php:880
      876|      */
      877|     public function prepareForSerialization()
      878|     {
      879|         if ($this-&gt;action['uses'] instanceof Closure) {
    &gt; 880|             throw new LogicException("Unable to prepare route [{$this-&gt;uri}] for serialization. Uses Closure.");
      881|         }
      882|
      883|         $this-&gt;compileRoute();
      884|
  
    Exception trace:
  
    1   Illuminate\Routing\Route::prepareForSerialization()
        C:\laragon\www\laraweb\vendor\laravel\framework\src\Illuminate\Foundation\Console\RouteCacheCommand.php:62
  
    2   Illuminate\Foundation\Console\RouteCacheCommand::handle()
        C:\laragon\www\laraweb\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:29
  
    Please use the argument -v to see more details.
  </code></pre>
  
  <p>Best regards.</p>