Skip to content

Commit

Permalink
Merge pull request #1 from schmunk42/master
Browse files Browse the repository at this point in the history
Update from original
  • Loading branch information
shurik2k5 committed May 20, 2019
2 parents f5990bc + 46fb498 commit 76cbe97
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/commands/BatchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ class BatchController extends Controller
*/
public $crudAccessFilter;

/**
* @var bool whether to generate access filter migrations
*/
public $generateAccessFilterMigrations;

public $crudBaseTraits;

public $crudTemplate = 'default';
Expand Down Expand Up @@ -306,7 +311,8 @@ public function options($id)
'crudBaseControllerClass',
'crudAccessFilter',
'crudTemplate',
'crudFormLayout'
'crudFormLayout',
'generateAccessFilterMigrations'
]
);
}
Expand Down Expand Up @@ -462,6 +468,7 @@ public function actionCruds()
'indexWidgetType' => $this->crudIndexWidgetType,
'indexGridClass' => $this->crudIndexGridClass,
'formLayout' => $this->crudFormLayout,
'generateAccessFilterMigrations' => $this->generateAccessFilterMigrations,
];
$route = 'gii/giiant-crud';
$app = \Yii::$app;
Expand Down

0 comments on commit 76cbe97

Please sign in to comment.