/** * Display a listing of the resource. * * @return Response */ public function index() { // require Auth to list movies with edit/delete actions // put auth HERE // count the records $moviesCount = Movie::count(); $movies = Movie::paginate(55); return view('movies.index', compact('movies', 'moviesCount')); }