rdv: available calendar ranges

This commit is contained in:
nobohan
2021-08-19 15:19:25 +02:00
parent 0457ee2b8d
commit 65bce1aacb
6 changed files with 59 additions and 7 deletions

View File

@@ -57,6 +57,7 @@ class ChillCalendarExtension extends Extension implements PrependExtensionInterf
$container->prependExtensionConfig('chill_main', [
'apis' => [
[
'controller' => \Chill\CalendarBundle\Controller\CalendarRangeAPIController::class,
'class' => \Chill\CalendarBundle\Entity\CalendarRange::class,
'name' => 'calendar_range',
'base_path' => '/api/1.0/calendar/calendar-range',