app/Http/Controllers/Admin/ArticleController.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()
    {
        $articles = Article::all();
        return view('admin.articles.index', ["articles" => $articles]);
    }
public function index ( ) { $ articles = Article :: all ( ) ; return view ( 'admin.articles.index' , [ " articles " => $ articles ] ) ; }
Display a listing of the resource.
Display a listing of the resource .