X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/54b4908c048705b0963c284f465d70d2096fab3a..f6f4a82d435adf70d9d27fe3724c5d87b1112a8a:/Resources/config/routes/rapsystree.yaml diff --git a/Resources/config/routes/rapsystree.yaml b/Resources/config/routes/rapsystree.yaml index b58bb21..69e2882 100644 --- a/Resources/config/routes/rapsystree.yaml +++ b/Resources/config/routes/rapsystree.yaml @@ -1,5 +1,21 @@ # Routes configuration rapsystree: - path: '/{path<.*>?}' + path: + en_gb: '/en' + fr_fr: '/' controller: Rapsys\TreeBundle\Controller\TreeController::index 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