public function actionIndex() { $model = new FaqApplications(); $dataProvider = new ActiveDataProvider(['query' => FaqApplications::find()]); return $this->render('index', ['dataProvider' => $dataProvider, 'model' => $model]); }