/** * 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(); }