Доработка настроек

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2021-03-10 12:08:25 +10:00
parent 081a34a8f4
commit 1fac5cdfc1

View File

@ -57,7 +57,8 @@ $config = [
'class' => 'yii\rest\UrlRule', 'class' => 'yii\rest\UrlRule',
'controller' => 'main' 'controller' => 'main'
], ],
'product/<id:\d+>' => 'product/index' 'product/<id:\d+>' => 'product/index',
'orders' => 'order/index'
], ],
], ],