示例#1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $providers = Providers::latest()->get();
     return view('providers.index', compact('providers'));
 }
示例#2
0
 /**
  * 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'));
 }