title: Add delete button in Yajra Datatables in Laravel 5.4
body: <p>I am now using Laravel 5.4 and Yajra Datatables plugin. Everything work fine but  delete doesn't work. My url goes like this...
  <a href="http://localhost:8000/admin/view/%7B%7B%20route" rel="nofollow noreferrer">http://localhost:8000/admin/view/%7B%7B%20route</a>('admin.faculty.destroy',%20$faculties-%3Eid)%20%7D%7D</p>
  
  <p>Here is my controller :</p>
  
  <pre><code>public function getFacultiesData()
  {
      $faculties = faculty::select(['id','name','designation','email','mobile', 'updated_at']);
      return Datatables::of($faculties)
      -&gt;addColumn('action', function ($faculties) {
              return '&lt;a href="/admin/faculty/'.$faculties-&gt;id.'/edit" class="btn btn-xs btn-primary"&gt;&lt;i class="glyphicon glyphicon-edit"&gt;&lt;/i&gt; Edit&lt;/a&gt;
                  &lt;form class="form-group" action="{{ route(\'admin.faculty.destroy\', $faculties-&gt;id) }}" method="POST"&gt;
                      &lt;input type="hidden" name="_method" value="DELETE"&gt;
                      &lt;button class="btn btn-xs btn-danger"&gt;&lt;i class="glyphicon glyphicon-trash"&gt;&lt;/i&gt;Delete&lt;/button&gt;
                  &lt;/form&gt;    ';})
          -&gt;editColumn('updated_at', function ($faculties) {
              return $faculties-&gt;updated_at-&gt;diffForHumans();
          })
          -&gt;filterColumn('updated_at', function ($query, $keyword) {
              $query-&gt;whereRaw("DATE_FORMAT(updated_at,'%Y/%m/%d') like ?", ["%$keyword%"]);
          })
          -&gt;make(true);
  }
  </code></pre>
  
  <p>Here Is my js</p>
  
  <pre><code>$(function() {
  $('#faculties-table').DataTable({
      processing: false,
      serverSide: true,
      ajax:'http://localhost:8000/admin/get/faculties/data',
      columns: [
      {data: 'name'},
      {data: 'designation'},
      {data: 'email'},
      {data: 'mobile'},
      {data: 'updated_at'},
      {data: 'action', name: 'action', orderable: false, searchable: false}
      ]});
  });
  </code></pre>
  
  <p>Edit is working perfect</p>