public function update($id) { $comments = Comment::findorfail($id); return view('comment.update', compact('comments')); }