title: Use delete glyphicon in Laravel 5 to delete a data
body: <p>Hi need help in glyphicons with delete functionality.
  These are my icons for update and delete. However, I only have my update working. I do not do with my delete. Please help! THanks a lot!</p>
  
  <pre><code>&lt;a href='{{ url("admin/editTicket/$ticket-&gt;id") }}'&gt;&lt;span class="glyphicon glyphicon-pencil"&gt;&lt;/span&gt;&lt;/a&gt;
  &lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-trash"&gt;&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Controller codes for update ticket:
  where Chap_ticket is my database table name</p>
  
  <pre><code>public function editTicket($id)
  { 
      $tick = Chap_ticket::find($id);
      $tickets=Chap_ticket::all();
      return view('admin.registerTicket',compact('tick','tickets'));
  
  }
  </code></pre>
  
  <p>My Route:</p>
  
  <pre><code>   Route::get('admin/editTicket/{id}','Admin\AdminController@editTicket');
     Route::get('admin/deleteTicket', 'AdminController@deleteTicket');
     Route::get('admin/registerTicket','Admin\AdminController@registerTicket');
  </code></pre>