/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy(Chart $chart) { $chart->delete(); Cache::flush(); return redirect()->route('charts.index')->with('message', 'Chart deleted.'); }