latest()->get(); return view('admin.comments.index', compact('comments')); } public function approve(Comment $comment) { // $comment->update([ 'is_approved' => true, ]); return back()->with('success', 'Комментарий одобрен!'); } public function destroy(Comment $comment) { // $comment->delete(); return back()->with('success', 'Комментарий удален!'); } }