/** * Lists all ProjectUser models. * @return mixed */ public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => ProjectUser::find()]); return $this->render('index', ['dataProvider' => $dataProvider]); }