Example #1
0
 public function delete_item($q_id)
 {
     $q = Question::find($q_id);
     $this->authorize('qna-edit', $q);
     $q->delete();
     return Response::json(['redirect' => '/qs']);
 }