]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Add calendar related routes and config
[airbundle] / Resources / config / routes / rapsys_air.yaml
index ca99c4e39f23b68c4de0a657fbcf60b1cf5e8ebb..99e80e8d8ff7c1b852109889eb971ac1e3c5765f 100644 (file)
@@ -14,6 +14,18 @@ rapsys_air_contact:
     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'