public function getIndex() { $data[$this->getCollectionName()] = Municipio::with(static::$eagerLoading[0])->get(); return view($this->getFolder(), $data); }