Open ahmadfadlydziljalal opened 2 years ago
config\web.php
'controllerMap' => [ 'comment' => [ 'class' => '\yii2mod\comments\controllers\ManageController', 'accessControlConfig' => [ 'class' => 'yii\filters\AccessControl', 'rules' => [ [ 'allow' => true, 'roles' => ['super-admin'], ], ], ] ], ], 'modules' => [ 'comment' => [ 'class' => 'yii2mod\comments\Module', ], ],
view.php
rules at urlManager
config\web.php
view.php
rules at urlManager