+# Routes configuration
+rapsystree:
+ path:
+ en_gb: '/en'
+ fr_fr: '/'
+ controller: Rapsys\TreeBundle\Controller\TreeController::index
+ methods: GET
+
+rapsystree_about:
+ path:
+ en_gb: '/en/about'
+ fr_fr: '/a-propos'
+ controller: Rapsys\TreeBundle\Controller\TreeController::about
+ methods: GET
+
+rapsystree_contact:
+ path:
+ en_gb: '/en/contact'
+ fr_fr: '/contacter'
+ 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'
+ fr_fr: '/conditions-generales-d-utilisation'
+ controller: Rapsys\TreeBundle\Controller\TreeController::tos
+ methods: GET
+
+rapsysuser_confirm:
+ path:
+ en_gb: '/en/confirm/{hash}/{mail}'
+ fr_fr: '/confirmer/{hash}/{mail}'
+ controller: Rapsys\UserBundle\Controller\UserController::confirm
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET
+
+rapsysuser_edit:
+ path:
+ en_gb: '/en/user/{hash}/{mail}'
+ fr_fr: '/utilisateur/{hash}/{mail}'
+ controller: Rapsys\UserBundle\Controller\UserController::edit
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST
+
+rapsysuser_index:
+ path:
+ en_gb: '/en/user'
+ fr_fr: '/utilisateur'
+ controller: Rapsys\UserBundle\Controller\UserController::index
+ methods: GET
+
+rapsysuser_login:
+ path:
+ en_gb: '/en/login/{hash}/{mail}'
+ fr_fr: '/connecter/{hash}/{mail}'
+ controller: Rapsys\UserBundle\Controller\UserController::login
+ defaults:
+ mail: ~
+ hash: ~
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST
+
+rapsysuser_logout:
+ path:
+ en_gb: '/en/logout'
+ fr_fr: '/deconnecter'
+ methods: GET
+
+rapsysuser_recover:
+ path:
+ en_gb: '/en/recover/{hash}/{pass}/{mail}'
+ fr_fr: '/recuperer/{hash}/{pass}/{mail}'
+ controller: Rapsys\UserBundle\Controller\UserController::recover
+ defaults:
+ mail: ~
+ pass: ~
+ hash: ~
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ pass: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST
+
+rapsysuser_register:
+ path:
+ en_gb: '/en/register/{hash}/{field}/{mail}'
+ fr_fr: '/enregistrer/{hash}/{field}/{mail}'
+ controller: Rapsys\UserBundle\Controller\UserController::register
+ defaults:
+ mail: ~
+ field: ~
+ hash: ~
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ field: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST