/** * Display a listing of the resource. * * @return Response */ public function index() { $registrations = Registration::latest()->get(); return view('registration.index', compact('registrations')); }