]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Set location, dance and user as optional in session view route
[airbundle] / Resources / config / routes / rapsys_air.yaml
index 05123d3b21a9fee7569393cd05639fa48a155c25..ca01a8c76afe0ec759106dbd7197569079870791 100644 (file)
@@ -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