/** * Display a listing of the resource. * * @return Response */ public function index() { // $citys = City::latest('created_at')->with('province')->paginate(10); return view('addr.citys.index', compact('citys')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $cities = City::latest()->get(); return view('bestellen.city-select', compact('cities')); }