Exemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Pin::where('id', '=', $id)->delete();
     /*return response()->json([
           "messages" => "PIN eliminado correctamente!"
       ]);*/
     return redirect()->back();
 }