Rapsys Git
/
treebundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
863d7cd
)
Move leading slash from path argument to route path
author
Raphaël Gertz
<git@rapsys.eu>
Thu, 14 Nov 2024 07:50:59 +0000
(08:50 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Thu, 14 Nov 2024 07:50:59 +0000
(08:50 +0100)
config/routes/rapsystree.yaml
patch
|
blob
|
history
diff --git
a/config/routes/rapsystree.yaml
b/config/routes/rapsystree.yaml
index d52b99863f94a1afa4e951b89f15bea36f456270..ab0db7f226dd8ee63f637f3ffab7c8da393db268 100644
(file)
--- a/
config/routes/rapsystree.yaml
+++ b/
config/routes/rapsystree.yaml
@@
-15,16
+15,16
@@
rapsystree_about:
rapsystree_album:
path:
rapsystree_album:
path:
- en_gb: '/en/album/{id}/{slug}{path}'
- fr_fr: '/album/{id}/{slug}{path}'
+ en_gb: '/en/album/{id}/{slug}
/
{path}'
+ fr_fr: '/album/{id}/{slug}
/
{path}'
controller: Rapsys\TreeBundle\Controller\TreeController::album
defaults:
id: ~
controller: Rapsys\TreeBundle\Controller\TreeController::album
defaults:
id: ~
- path:
~
+ path:
''
slug: ~
requirements:
id: '\d+'
slug: ~
requirements:
id: '\d+'
- path: '
/.*
'
+ path: '
.*?
'
slug: '[\w-]+'
methods: GET|POST
slug: '[\w-]+'
methods: GET|POST
@@
-64,16
+64,16
@@
rapsysuser_edit:
rapsystree_element:
path:
rapsystree_element:
path:
- en_gb: '/en/element/{id}{path}'
- fr_fr: '/element/{id}{path}'
+ en_gb: '/en/element/{id}
/
{path}'
+ fr_fr: '/element/{id}
/
{path}'
controller: Rapsys\TreeBundle\Controller\TreeController::element
defaults:
id: ~
controller: Rapsys\TreeBundle\Controller\TreeController::element
defaults:
id: ~
- path:
~
+ path:
''
requirements:
id: '\d+'
requirements:
id: '\d+'
- path: '
/.*
'
- methods: GET
|POST
+ path: '
.*?
'
+ methods: GET
rapsysuser_index:
path:
rapsysuser_index:
path: