X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/c74ab618abe6dad2df2e2e2139cec77188da6208..efe903bda598d690ace37670d43c692468b189d7:/config/routes/rapsystree.yaml?ds=inline 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'