From: Raphaƫl Gertz Date: Wed, 9 Dec 2020 20:44:17 +0000 (+0100) Subject: Remove unused application_edit route X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/a6d88eef8062ab9e1971174ba332d1711ee98e27?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+>}'