# 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