]> Raphaƫl G. Git Repositories - treebundle/blobdiff - config/routes/rapsystree.yaml
Add rapsyspack.file_util helper
[treebundle] / config / routes / rapsystree.yaml
index d52b99863f94a1afa4e951b89f15bea36f456270..ab0db7f226dd8ee63f637f3ffab7c8da393db268 100644 (file)
@@ -15,16 +15,16 @@ rapsystree_about:
 
 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: ~
-        path: ~
+        path: ''
         slug: ~
     requirements:
         id: '\d+'
-        path: '/.*'
+        path: '.*?'
         slug: '[\w-]+'
     methods: GET|POST
 
@@ -64,16 +64,16 @@ rapsysuser_edit:
 
 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: ~
-        path: ~
+        path: ''
     requirements:
         id: '\d+'
-        path: '/.*'
-    methods: GET|POST
+        path: '.*?'
+    methods: GET
 
 rapsysuser_index:
     path: