public function run() { $title = $this->title; $news = \app\models\news\News::getTopActiveNews(); return $this->render('news', compact('news', 'title')); }
public function run() { $title = $this->title; $news = \app\models\news\News::getTopActiveNews(); return $this->render('news', compact('news', 'title')); }