From 986af717f424d23aa17e08faafb3d037bd45c48a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 9 Dec 2020 21:44:17 +0100 Subject: [PATCH] Remove unused application_edit route Add required session_edit route --- Resources/config/routes/rapsys_air.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Resources/config/routes/rapsys_air.yaml b/Resources/config/routes/rapsys_air.yaml index 6c71b84..c80ce93 100644 --- a/Resources/config/routes/rapsys_air.yaml +++ b/Resources/config/routes/rapsys_air.yaml @@ -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+>}' -- 2.41.1