public function destroy(Post $post) { Gate::authorize('delete',$post); Storage::delete("public/cover/".$post->cover); $post->delete(); return redirect()->route('index')->with('status','Post Deleted'); }