Доработка настроек
This commit is contained in:
@@ -57,7 +57,8 @@ $config = [
|
||||
'class' => 'yii\rest\UrlRule',
|
||||
'controller' => 'main'
|
||||
],
|
||||
'product/<id:\d+>' => 'product/index'
|
||||
'product/<id:\d+>' => 'product/index',
|
||||
'orders' => 'order/index'
|
||||
],
|
||||
],
|
||||
|
||||
|
Reference in New Issue
Block a user