From: Raphaƫl Gertz Date: Wed, 31 Jan 2024 22:16:53 +0000 (+0100) Subject: Set location, dance and user as optional in session view route X-Git-Tag: 0.3.0~136 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/63cdd661ae1b4a110081ce764c5838ea11727546?ds=sidebyside Set location, dance and user as optional in session view route --- diff --git a/Resources/config/routes/rapsys_air.yaml b/Resources/config/routes/rapsys_air.yaml index 05123d3..ca01a8c 100644 --- a/Resources/config/routes/rapsys_air.yaml +++ b/Resources/config/routes/rapsys_air.yaml @@ -137,8 +137,8 @@ rapsys_air_session_tangoargentin: rapsys_air_session_view: path: - en_gb: '/en/session/{id<\d+>}/{location<[\w-]+>}/{dance<[\w-]*>?}/{user<[\w-]*>?}' - fr_fr: '/seance/{id<\d+>}/{location<[\w-]+>}/{dance<[\w-]*>?}/{user<[\w-]*>?}' + en_gb: '/en/session/{id<\d+>}/{location<[\w-]+>?}/{dance<[\w-]*>?}/{user<[\w-]*>?}' + fr_fr: '/seance/{id<\d+>}/{location<[\w-]+>?}/{dance<[\w-]*>?}/{user<[\w-]*>?}' controller: Rapsys\AirBundle\Controller\SessionController::view methods: GET|POST