title: Laravel - DELETE Ajax request
body: <p>I am using Laravel 5.0. I have created a RESTful Controller. Now i wanna use the destroy function via an ajax call.<br>
  This is my JS:  </p>
  
  <pre><code>$.ajax({
      type:   'POST',
      url:    '/pv/' + data.id,
      data:   {_method: 'delete' },
      success: function(data){
          console.log(data);
      }
  });
  </code></pre>
  
  <p>And this is my destroy function:</p>
  
  <pre><code>public function destroy($id)
  {
      $pv = PV::find($id);
  
      $pv-&gt;delete();
  
      return true;
  }
  </code></pre>
  
  <p>All i got is a 500 error.</p>