app/Http/Controllers/NewsController.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()
    {
        $newss = News::all();
        return view('admin.news.index', compact('newss'));
    }
public function index ( ) { $ newss = News :: all ( ) ; return view ( 'admin.news.index' , compact ( 'newss' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .