/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $events = Event::all(); return view('admin.pages.events.index', compact('events')); }