diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index c9f3e8f..9a08eb5 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -52,6 +52,16 @@ */ public function actionIndex() { + + $aliasIdsForBlog = [1, 2, 3]; + $this->view->params['aliases'] = \artbox\core\models\Alias::find() + ->where( + [ + 'id' => $aliasIdsForBlog + ] + ) + ->all(); + return $this->render('index'); } -- libgit2 0.21.4