Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7275c70
)
Set location, dance and user as optional in session view route
author
Raphaël Gertz
<git@rapsys.eu>
Wed, 31 Jan 2024 22:16:53 +0000
(23:16 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Wed, 31 Jan 2024 22:16:53 +0000
(23:16 +0100)
Resources/config/routes/rapsys_air.yaml
patch
|
blob
|
history
diff --git
a/Resources/config/routes/rapsys_air.yaml
b/Resources/config/routes/rapsys_air.yaml
index 05123d3b21a9fee7569393cd05639fa48a155c25..ca01a8c76afe0ec759106dbd7197569079870791 100644
(file)
--- 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