Доработка настроек
This commit is contained in:
parent
081a34a8f4
commit
1fac5cdfc1
|
@ -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