]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Add stack and asset controller arguments
[airbundle] / Resources / config / routes / rapsys_air.yaml
index 845dd9ac24e89ede544ebe3c5d56a8c4dcadf093..99e80e8d8ff7c1b852109889eb971ac1e3c5765f 100644 (file)
@@ -14,6 +14,25 @@ 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'
+        fr: '/foire-aux-questions'
+    controller: Rapsys\AirBundle\Controller\DefaultController::frequentlyAskedQuestions
+    methods: GET
+
 rapsys_air_organizer_regulation:
     path:
         en: '/en/organizer-regulation'
@@ -28,12 +47,12 @@ rapsys_air_terms_of_service:
     controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
     methods: GET
 
-rapsys_air_frequently_asked_questions:
+rapsys_air_dispute:
     path:
-        en: '/en/frequently-asked-questions'
-        fr: '/foire-aux-questions'
-    controller: Rapsys\AirBundle\Controller\DefaultController::frequentlyAskedQuestions
-    methods: GET
+        en: '/en/dispute'
+        fr: '/contestation'
+    controller: Rapsys\AirBundle\Controller\DefaultController::dispute
+    methods: GET|POST
 
 rapsys_air_location:
     path:
@@ -117,7 +136,7 @@ rapsys_air_user_view:
         en: '/en/user/{id<\d+>}'
         fr: '/utilisateur/{id<\d+>}'
     controller: Rapsys\AirBundle\Controller\UserController::view
-    methods: GET
+    methods: GET|POST
 
 rapsys_user_login:
     path: