/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $region = new Region(); $this->authorize('show', $region); $regions = Region::with(['regionType', 'country'])->orderByRelationTranslation('country', 'sortas')->orderBy($region->getQualifiedOrderColumnName())->paginate(25); return view('regions.index', compact('regions')); }