app/Http/Controllers/AdminCommentsController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $comments = Comment::all();
        return view('admin.Comments.index',compact('comments'));
    }
public function index ( ) { $ comments = Comment :: all ( ) ; return view ( 'admin.Comments.index' , compact ( 'comments' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//