/** * Display a listing of the resource. * * @return Response */ public function index() { $forms = Form::latest()->paginate(20); $no = $forms->firstItem(); return view('forms.index', compact('forms', 'no')); }