dektrium\rbac\controllers\RuleController::actionIndex PHP Method

actionIndex() public method

Shows list of created rules.
public actionIndex ( ) : string
return string
    public function actionIndex()
    {
        $searchModel = $this->getSearchModel();
        $dataProvider = $searchModel->search(\Yii::$app->request->queryParams);
        return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
    }