X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/d1f5c6c9ff6d8e7435f0bfba5983b327c89266d4..HEAD:/config/routes/rapsystree.yaml?ds=sidebyside diff --git a/config/routes/rapsystree.yaml b/config/routes/rapsystree.yaml index d52b998..ab0db7f 100644 --- a/config/routes/rapsystree.yaml +++ b/config/routes/rapsystree.yaml @@ -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: