Commit d9a1e14dc14f9d6eaf790c9927549bb4c903d20d

Authored by Timur Kastemirov
1 parent 18694a88

seo lang markup

Showing 1 changed file with 10 additions and 0 deletions   Show diff stats
frontend/controllers/SiteController.php
@@ -52,6 +52,16 @@ @@ -52,6 +52,16 @@
52 */ 52 */
53 public function actionIndex() 53 public function actionIndex()
54 { 54 {
  55 +
  56 + $aliasIdsForBlog = [1, 2, 3];
  57 + $this->view->params['aliases'] = \artbox\core\models\Alias::find()
  58 + ->where(
  59 + [
  60 + 'id' => $aliasIdsForBlog
  61 + ]
  62 + )
  63 + ->all();
  64 +
55 return $this->render('index'); 65 return $this->render('index');
56 } 66 }
57 67