/** * Display a listing of the resource. * * @return Response */ public function index() { $providers = Providers::latest()->get(); return view('providers.index', compact('providers')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $entries = Fileentry::all(); $providers = Providers::latest()->get(); return view('fileentries.index', compact('entries', 'providers')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $providers = Providers::latest()->paginate(10); $providers->setPath("providers"); return view('providers.index', compact('providers')); }