/** * @return string */ public function actionIndex() { return $this->render('/category/index', ['categories' => Catalog::cats(), 'page' => Shop::page(Pages::SHOP_BY_CATEGORY)]); }