/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy(Banner $banner) { $image = Attachment::where('id', $banner->attachment_id); $banner->delete(); $image->delete(); return redirect()->route('admin.banner.index'); }