Open v-av opened 5 years ago
https://github.com/johnitvn/yii2-rbac-plus/blob/693b137ad6e5fd1919f9c025c7bf25ce3ee611b1/src/controllers/AssignmentController.php#L61
if ($request->isPost) { $formModel->load(Yii::$app->request->post()); $formModel->save(); }
Up to line 58, before if ($request->isAjax) {
I made it sometime ago in this repo: https://gitlab.com/neoacevedo/yii2-rbac-plus And I have fixed another old issues.
https://github.com/johnitvn/yii2-rbac-plus/blob/693b137ad6e5fd1919f9c025c7bf25ce3ee611b1/src/controllers/AssignmentController.php#L61
if ($request->isPost) { $formModel->load(Yii::$app->request->post()); $formModel->save(); }
Up to line 58, before if ($request->isAjax) {