X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/0680a36933435efdc5a4b812bf80faf7f059eec9..e7f0a62a00c056d3aacddb031e16cbe7a93eb1c4:/config/routes/rapsystree.yaml?ds=inline diff --git a/config/routes/rapsystree.yaml b/config/routes/rapsystree.yaml index cb028f0..ab0db7f 100644 --- a/config/routes/rapsystree.yaml +++ b/config/routes/rapsystree.yaml @@ -13,6 +13,21 @@ rapsystree_about: controller: Rapsys\TreeBundle\Controller\TreeController::about methods: GET +rapsystree_album: + path: + en_gb: '/en/album/{id}/{slug}/{path}' + fr_fr: '/album/{id}/{slug}/{path}' + controller: Rapsys\TreeBundle\Controller\TreeController::album + defaults: + id: ~ + path: '' + slug: ~ + requirements: + id: '\d+' + path: '.*?' + slug: '[\w-]+' + methods: GET|POST + rapsystree_contact: path: en_gb: '/en/contact' @@ -20,20 +35,6 @@ rapsystree_contact: controller: Rapsys\TreeBundle\Controller\TreeController::contact methods: GET -rapsystree_directory: - path: - en_gb: '/en/directory/{path<.+>?}' - fr_fr: '/chemin/{path<.+>?}' - controller: Rapsys\TreeBundle\Controller\TreeController::directory - methods: GET - -rapsystree_document: - path: - en_gb: '/en/document/{file<.+>?}' - fr_fr: '/document/{file<.+>?}' - controller: Rapsys\TreeBundle\Controller\TreeController::document - methods: GET - rapsystree_terms_of_service: path: en_gb: '/en/terms-of-service' @@ -61,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 + rapsysuser_index: path: en_gb: '/en/user'