]> Raphaël G. Git Repositories - airbundle/commitdiff
Replace location.index by session.index
authorRaphaël Gertz <git@rapsys.eu>
Mon, 19 Oct 2020 07:45:16 +0000 (09:45 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 19 Oct 2020 07:45:16 +0000 (09:45 +0200)
Resources/config/routes/rapsys_air.yaml

index 7fff4565b7c00bd44f77799dbaabec8d482bbf57..6c71b8455a40b6d2f840bc3b12a27c880de0c604 100644 (file)
@@ -21,13 +21,6 @@ rapsys_air_regulation:
     controller: Rapsys\AirBundle\Controller\DefaultController::regulation
     methods: GET
 
     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+>}'
 rapsys_air_location_view:
     path:
         en: '/en/location/{id<\d+>}'
@@ -49,6 +42,13 @@ rapsys_air_application_edit:
     controller: Rapsys\AirBundle\Controller\ApplicationController::edit
     methods: POST
 
     controller: Rapsys\AirBundle\Controller\ApplicationController::edit
     methods: POST
 
+rapsys_air_session:
+    path:
+        en: '/en/session'
+        fr: '/seance'
+    controller: Rapsys\AirBundle\Controller\SessionController::index
+    methods: GET
+
 rapsys_air_session_view:
     path:
         en: '/en/session/{id<\d+>}'
 rapsys_air_session_view:
     path:
         en: '/en/session/{id<\d+>}'