'urlManager' => [
'enablePrettyUrl' => true,
'enableStrictParsing' => true,
'showScriptName' => false,
'rules' => [
[
'class' => 'yii\rest\UrlRule',
'controller' => ['v1/bonus'],
'extraPatterns' => [
'GET bonus' => 'get-bonus',
]
]
],
],
'rules' => [
[
'class' => 'yii\rest\UrlRule',
'controller' => ['v1/bonus'],
'extraPatterns' => [
'GET bonus' => 'get-bonus',
]
]
],
'rules' => [
'class' => 'yii\rest\UrlRule',
'controller' => ['v1/bonus'],
'extraPatterns' => [
'GET bonus' => 'get-bonus',
]
],