filter list of locations on backend side (GET location endpoint)

This commit is contained in:
2021-10-15 12:01:57 +02:00
parent d0dd99db9a
commit ada9efc75d
3 changed files with 32 additions and 1 deletions

View File

@@ -447,6 +447,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
],
[
'class' => \Chill\MainBundle\Entity\Location::class,
'controller' => \Chill\MainBundle\Controller\LocationApiController::class,
'name' => 'location',
'base_path' => '/api/1.0/main/location',
'base_role' => 'ROLE_USER',