title: DELETE request on a link in laravel 5.4
body: <p>I am trying to hit a route I made to make a delete HTTP request in laravel view when user clicks on 'Delete' button, but it won't work. I've read it should be done with forms in laravel.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;form action="/admin/pages/delete/{{ $section-&gt;id }}" method="post"&gt;
      {{ method_field('delete') }}
      &lt;button class="btn btn-sm" type="submit"&gt;Delete&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>What is a proper way to handle this?
  It shows me an error in the console, Bootbox: 'please specify a message' whenever I click on the button.</p>
  
  <p>Route definition inside admin group:</p>
  
  <pre><code>    Route::delete('/pages/delete/{id}', 'PagesController@delete')-&gt;name('pages.delete');
  </code></pre>