/** * Display a listing of the resource. * * @return Response */ public function index() { $sites = Site::paginate(); $owners = Owner::all(); return view('admin.sites.index', compact('sites', 'owners')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $sites = Site::paginate(); $owners = Owner::all(); return view('admin.sites.index', compact('sites', 'owners')); }