Commit 6cdfc694726b7ec5e065facf040180462824c0b1
1 parent
1d5ac16a
Поредактировал формы, сообщения при корректном/некорректном заполнении , вывод дат formatter-а
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/controllers/SiteController.php
@@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
51 | */ | 51 | */ |
52 | public function actionIndex() | 52 | public function actionIndex() |
53 | { | 53 | { |
54 | - \Yii::$app->cache->flush(); | 54 | + |
55 | $slides = Slide::find()->with('language')->where(['status' => true])->orderBy('sort')->all(); | 55 | $slides = Slide::find()->with('language')->where(['status' => true])->orderBy('sort')->all(); |
56 | $articles = Article::find() | 56 | $articles = Article::find() |
57 | ->with('language') | 57 | ->with('language') |