pending()->recent()->get(); return view("comment_moderation_queue", ["comments" => $comments]); } function allow(Comment $comment) { $comment->allow(); return view("success"); } function reject(Comment $comment) { $comment->reject(); return view("success"); } }