From: Raphaƫl Gertz Date: Wed, 9 Dec 2020 20:44:17 +0000 (+0100) Subject: Remove unused application_edit route X-Git-Tag: 0.1.6~9 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/986af717f424d23aa17e08faafb3d037bd45c48a?ds=sidebyside Remove unused application_edit route Add required session_edit route --- 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+>}'