endpoints created for profession and civility for use in vue component

This commit is contained in:
2022-01-13 14:33:57 +01:00
parent 424d0533b8
commit a39bd79930
6 changed files with 54 additions and 2 deletions

View File

@@ -538,6 +538,20 @@ class ChillMainExtension extends Extension implements
],
],
],
[
'class' => \Chill\MainBundle\Entity\Civility::class,
'name' => 'civility',
'base_path' => '/api/1.0/main/civility',
'base_role' => 'ROLE_USER',
'actions' => [
'_index' => [
'methods' => [
Request::METHOD_GET => true,
Request::METHOD_HEAD => true,
],
],
],
],
],
]);
}