missed one ...
This commit is contained in:
@ -128,6 +128,7 @@ class AdminController extends Controller
|
|||||||
[
|
[
|
||||||
'dataProvider' => $dataProvider,
|
'dataProvider' => $dataProvider,
|
||||||
'searchModel' => $searchModel,
|
'searchModel' => $searchModel,
|
||||||
|
'module' => $this->module
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,6 @@ use yii\widgets\Pjax;
|
|||||||
$this->title = Yii::t('usuario', 'Manage users');
|
$this->title = Yii::t('usuario', 'Manage users');
|
||||||
$this->params['breadcrumbs'][] = $this->title;
|
$this->params['breadcrumbs'][] = $this->title;
|
||||||
|
|
||||||
$module = Yii::$app->getModule('user');
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php $this->beginContent($module->viewPath . '/shared/admin_layout.php') ?>
|
<?php $this->beginContent($module->viewPath . '/shared/admin_layout.php') ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user