app/Http/Controllers/ComicController.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()
    {
        $comicList = Comic::orderBy('id', 'desc')->paginate(5);
        return view('comics.home', compact('comicList'));
    }
public function index ( ) { $ comicList = Comic :: orderBy ( 'id' , 'desc' ) -> paginate ( 5 ) ; return view ( 'comics.home' , compact ( 'comicList' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
// dump($comicList);