X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/0680a36933435efdc5a4b812bf80faf7f059eec9..e2432989d03536f53ea8d9b6bf1cfc91c1b6077f:/config/routes/rapsystree.yaml?ds=inline diff --git a/config/routes/rapsystree.yaml b/config/routes/rapsystree.yaml index cb028f0..03d85ea 100644 --- a/config/routes/rapsystree.yaml +++ b/config/routes/rapsystree.yaml @@ -13,25 +13,39 @@ rapsystree_about: controller: Rapsys\TreeBundle\Controller\TreeController::about methods: GET -rapsystree_contact: +rapsystree_album: path: - en_gb: '/en/contact' - fr_fr: '/contacter' - controller: Rapsys\TreeBundle\Controller\TreeController::contact - methods: GET + 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_directory: +rapsystree_asset: path: - en_gb: '/en/directory/{path<.+>?}' - fr_fr: '/chemin/{path<.+>?}' - controller: Rapsys\TreeBundle\Controller\TreeController::directory - methods: GET + 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_document: +rapsystree_contact: path: - en_gb: '/en/document/{file<.+>?}' - fr_fr: '/document/{file<.+>?}' - controller: Rapsys\TreeBundle\Controller\TreeController::document + en_gb: '/en/contact' + fr_fr: '/contacter' + controller: Rapsys\TreeBundle\Controller\TreeController::contact methods: GET rapsystree_terms_of_service: