Rapsys\AirBundle\Controller\ApplicationController:
arguments: [ '@service_container', '@router', '@request_stack', '@translator' ]
tags: [ 'controller.service_arguments' ]
+ #Register calendar controller
+ Rapsys\AirBundle\Controller\CalendarController:
+ arguments: [ '@service_container', '@router', '@request_stack', '@translator' ]
+ tags: [ 'controller.service_arguments' ]
#Register default controller
Rapsys\AirBundle\Controller\DefaultController:
arguments: [ '@service_container', '@router', '@request_stack', '@translator' ]
Rapsys\AirBundle\Command\AttributeCommand:
arguments: [ '@doctrine' ]
tags: [ 'console.command' ]
+ Rapsys\AirBundle\Command\CalendarCommand:
+ arguments: [ '@service_container', '@doctrine', '@router', '@translator' ]
+ tags: [ 'console.command' ]
Rapsys\AirBundle\Command\WeatherCommand:
arguments: [ '@doctrine' ]
tags: [ 'console.command' ]
controller: Rapsys\AirBundle\Controller\DefaultController::contact
methods: GET|POST
+rapsys_air_calendar:
+ path:
+ en: '/en/calendar'
+ fr: '/calendrier'
+ controller: Rapsys\AirBundle\Controller\CalendarController::index
+ methods: GET|POST
+
+rapsys_air_calendar_callback:
+ path: '/calendar/callback'
+ controller: Rapsys\AirBundle\Controller\CalendarController::callback
+ methods: GET
+
rapsys_air_frequently_asked_questions:
path:
en: '/en/frequently-asked-questions'