# 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_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' fr_fr: '/contacter' controller: Rapsys\TreeBundle\Controller\TreeController::contact 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 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' 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