api search profile

This commit is contained in:
andrey
2021-06-25 18:11:30 +03:00
parent 1a4f0b6d5e
commit 96a8a530ed
3 changed files with 117 additions and 0 deletions

View File

@ -60,6 +60,7 @@ return [
'showScriptName' => false,
'rules' => [
'site/index' => 'card/user-card/index',
'api/profile/<id:\d+>' => 'api/profile/index',
'' => 'card/user-card/index',
['class' => 'yii\rest\UrlRule', 'controller' => 'skills'],
],