/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy(Request $request, $id) { $app = App::findByUserAndId($request->user(), $id); $app->delete(); return response(''); }