]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Contextualize buttons
[airbundle] / Resources / config / routes / rapsys_air.yaml
index 6c71b8455a40b6d2f840bc3b12a27c880de0c604..c80ce930a9ef6addfcc190155c08c78130ae0d20 100644 (file)
@@ -35,13 +35,6 @@ rapsys_air_application_add:
     controller: Rapsys\AirBundle\Controller\ApplicationController::add
     methods: POST
 
-rapsys_air_application_edit:
-    path:
-        en: '/en/application/{id<\d+>}'
-        fr: '/reservation/{id<\d+>}'
-    controller: Rapsys\AirBundle\Controller\ApplicationController::edit
-    methods: POST
-
 rapsys_air_session:
     path:
         en: '/en/session'
@@ -49,6 +42,13 @@ rapsys_air_session:
     controller: Rapsys\AirBundle\Controller\SessionController::index
     methods: GET
 
+rapsys_air_session_edit:
+    path:
+        en: '/en/session/{id<\d+>}'
+        fr: '/seance/{id<\d+>}'
+    controller: Rapsys\AirBundle\Controller\SessionController::edit
+    methods: POST
+
 rapsys_air_session_view:
     path:
         en: '/en/session/{id<\d+>}'