add task module

This commit is contained in:
iIronside
2021-11-23 13:13:19 +03:00
parent 12648f16f8
commit ae99b9c4df
28 changed files with 1160 additions and 5 deletions

View File

@ -68,11 +68,14 @@ return [
'employee' => [
'class' => 'backend\modules\employee\Employee',
],
'task' => [
'class' => 'backend\modules\task\Task',
],
],
'components' => [
'request' => [
'csrfParam' => '_csrf-backend',
'baseUrl' => '/secure',
'baseUrl' => '', //TODO /secure
'parsers' => [
'application/json' => 'yii\web\JsonParser',
'text/xml' => 'yii/web/XmlParser',