public function index() { $news = parent::index(); $news['pages'] = $this->model->getPageAll(); return $news; }