/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function adminIndex() { return view('companies.adminlist', ['companies' => Company::orderBy('sort')->get()]); }