Commit da98f90d92b49687a93ce972fa89e663f72e2339

Authored by Yarik
1 parent 63f22d73

Models and controllers generated

Showing 2 changed files with 7 additions and 2 deletions   Show diff stats
common/config/main.php
... ... @@ -24,7 +24,11 @@
24 24 'translations' => [
25 25 'core' => [
26 26 'class' => 'yii\i18n\PhpMessageSource',
27   - 'basePath' => '@artbox/core/messages',
  27 + 'basePath' => '@artbox/catalog/messages',
  28 + ],
  29 + 'catalog' => [
  30 + 'class' => 'yii\i18n\PhpMessageSource',
  31 + 'basePath' => '@artbox/catalog/messages',
28 32 ],
29 33 'app' => [
30 34 'class' => 'yii\i18n\PhpMessageSource',
... ...
composer.json
... ... @@ -55,7 +55,8 @@
55 55 ],
56 56 "autoload": {
57 57 "psr-4": {
58   - "artbox\\core\\": "artweb/artbox-core/"
  58 + "artbox\\core\\": "artweb/artbox-core/",
  59 + "artbox\\catalog\\": "artweb/artbox-catalog/"
59 60 }
60 61 }
61 62 }
... ...