/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $companies = $this->companies->get(); return view('admin.company.index', compact('companies')); }