public function getIndex() { $datas = ["comments" => commentdb::all()]; return view('Pages/Comments/index', $datas); }
public function show() { $comments = Comments::all(); return view('comments', ['comments' => $comments]); }