backend - replace event controller with module

This commit is contained in:
Roland Schneider
2019-01-16 18:03:47 +01:00
parent 8967445a28
commit fc11ccc923
7 changed files with 11 additions and 384 deletions

View File

@@ -12,7 +12,6 @@ return [
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'backend\controllers',
'bootstrap' => ['log'],
'modules' => [],
'components' => [
'request' => [
'enableCsrfValidation'=>false,
@@ -46,5 +45,11 @@ return [
'errorAction' => 'site/error',
],
],
'modules' => [
'event' => [
'class' => 'common\modules\event\EventModule',
'mode' => 'backend'
],
],
'params' => $params,
];