public function actionTypes() { $this->checkAccess('admin_staff'); $dataProvider = new ActiveDataProvider(['query' => DisputeTypes::find()]); return $this->render('types', ['dataProvider' => $dataProvider]); }