]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Add Madeleine place related translations
[airbundle] / Resources / config / routes / rapsys_air.yaml
index b1b7b529d1b70dc8e630862198d2e03615cfc57e..ca99c4e39f23b68c4de0a657fbcf60b1cf5e8ebb 100644 (file)
@@ -14,6 +14,13 @@ rapsys_air_contact:
     controller: Rapsys\AirBundle\Controller\DefaultController::contact
     methods: GET|POST
 
     controller: Rapsys\AirBundle\Controller\DefaultController::contact
     methods: GET|POST
 
+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'
 rapsys_air_organizer_regulation:
     path:
         en: '/en/organizer-regulation'
@@ -28,6 +35,34 @@ rapsys_air_terms_of_service:
     controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
     methods: GET
 
     controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
     methods: GET
 
+rapsys_air_dispute:
+    path:
+        en: '/en/dispute'
+        fr: '/contestation'
+    controller: Rapsys\AirBundle\Controller\DefaultController::dispute
+    methods: GET|POST
+
+rapsys_air_location:
+    path:
+        en: '/en/location'
+        fr: '/emplacement'
+    controller: Rapsys\AirBundle\Controller\LocationController::index
+    methods: GET
+
+rapsys_air_location_add:
+    path:
+        en: '/en/location'
+        fr: '/emplacement'
+    controller: Rapsys\AirBundle\Controller\LocationController::add
+    methods: POST
+
+rapsys_air_location_edit:
+    path:
+        en: '/en/location/{id<\d+>}'
+        fr: '/emplacement/{id<\d+>}'
+    controller: Rapsys\AirBundle\Controller\LocationController::edit
+    methods: POST
+
 rapsys_air_location_view:
     path:
         en: '/en/location/{id<\d+>}'
 rapsys_air_location_view:
     path:
         en: '/en/location/{id<\d+>}'
@@ -77,19 +112,19 @@ rapsys_air_snippet_edit:
     controller: Rapsys\AirBundle\Controller\SnippetController::edit
     methods: POST
 
     controller: Rapsys\AirBundle\Controller\SnippetController::edit
     methods: POST
 
-rapsys_air_organizer:
+rapsys_air_user:
     path:
     path:
-        en: '/en/organizer'
-        fr: '/organisateur'
-    controller: Rapsys\AirBundle\Controller\OrganizerController::index
+        en: '/en/user'
+        fr: '/utilisateur'
+    controller: Rapsys\AirBundle\Controller\UserController::index
     methods: GET
 
     methods: GET
 
-rapsys_air_organizer_view:
+rapsys_air_user_view:
     path:
     path:
-        en: '/en/organizer/{id<\d+>}'
-        fr: '/organisateur/{id<\d+>}'
-    controller: Rapsys\AirBundle\Controller\OrganizerController::view
-    methods: GET
+        en: '/en/user/{id<\d+>}'
+        fr: '/utilisateur/{id<\d+>}'
+    controller: Rapsys\AirBundle\Controller\UserController::view
+    methods: GET|POST
 
 rapsys_user_login:
     path:
 
 rapsys_user_login:
     path: