]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Add index for findAllPendingApplication and findBestApplicationById
[airbundle] / Resources / config / routes / rapsys_air.yaml
index 7fff4565b7c00bd44f77799dbaabec8d482bbf57..c80ce930a9ef6addfcc190155c08c78130ae0d20 100644 (file)
@@ -21,13 +21,6 @@ rapsys_air_regulation:
     controller: Rapsys\AirBundle\Controller\DefaultController::regulation
     methods: GET
 
-rapsys_air_location:
-    path:
-        en: '/en/location'
-        fr: '/emplacement'
-    controller: Rapsys\AirBundle\Controller\LocationController::index
-    methods: GET
-
 rapsys_air_location_view:
     path:
         en: '/en/location/{id<\d+>}'
@@ -42,11 +35,18 @@ rapsys_air_application_add:
     controller: Rapsys\AirBundle\Controller\ApplicationController::add
     methods: POST
 
-rapsys_air_application_edit:
+rapsys_air_session:
+    path:
+        en: '/en/session'
+        fr: '/seance'
+    controller: Rapsys\AirBundle\Controller\SessionController::index
+    methods: GET
+
+rapsys_air_session_edit:
     path:
-        en: '/en/application/{id<\d+>}'
-        fr: '/reservation/{id<\d+>}'
-    controller: Rapsys\AirBundle\Controller\ApplicationController::edit
+        en: '/en/session/{id<\d+>}'
+        fr: '/seance/{id<\d+>}'
+    controller: Rapsys\AirBundle\Controller\SessionController::edit
     methods: POST
 
 rapsys_air_session_view: