Ejemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     table_banned_report::find($id)->delete();
     return redirect('admin/banned-report')->with('warning', 'Data have been removed!');
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     table_banned_report::find($id)->delete();
     return redirect('admin/banned-report')->with('warning', 'Data berhasil dihapus!');
 }