mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-24 02:27:22 +08:00
Merge pull request #5289 from hoksilato/patch-3
Update rest-versioning.md
This commit is contained in:
@@ -69,9 +69,11 @@ return [
|
|||||||
'modules' => [
|
'modules' => [
|
||||||
'v1' => [
|
'v1' => [
|
||||||
'basePath' => '@app/modules/v1',
|
'basePath' => '@app/modules/v1',
|
||||||
|
'controllerNamespace' => 'app\modules\v1\controllers',
|
||||||
],
|
],
|
||||||
'v2' => [
|
'v2' => [
|
||||||
'basePath' => '@app/modules/v2',
|
'basePath' => '@app/modules/v2',
|
||||||
|
'controllerNamespace' => 'app\modules\v2\controllers',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'components' => [
|
'components' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user