X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/e2432989d03536f53ea8d9b6bf1cfc91c1b6077f..d1f5c6c9ff6d8e7435f0bfba5983b327c89266d4:/config/routes/rapsystree.yaml diff --git a/config/routes/rapsystree.yaml b/config/routes/rapsystree.yaml index 03d85ea..d52b998 100644 --- a/config/routes/rapsystree.yaml +++ b/config/routes/rapsystree.yaml @@ -28,19 +28,6 @@ rapsystree_album: slug: '[\w-]+' methods: GET|POST -rapsystree_asset: - path: - en_gb: '/en/asset/{id}{path}' - fr_fr: '/actif/{id}{path}' - controller: Rapsys\TreeBundle\Controller\TreeController::asset - defaults: - id: ~ - path: ~ - requirements: - id: '\d+' - path: '/.*' - methods: GET|POST - rapsystree_contact: path: en_gb: '/en/contact' @@ -75,6 +62,19 @@ rapsysuser_edit: hash: '[a-zA-Z0-9=_-]+' methods: GET|POST +rapsystree_element: + path: + en_gb: '/en/element/{id}{path}' + fr_fr: '/element/{id}{path}' + controller: Rapsys\TreeBundle\Controller\TreeController::element + defaults: + id: ~ + path: ~ + requirements: + id: '\d+' + path: '/.*' + methods: GET|POST + rapsysuser_index: path: en_gb: '/en/user'