- en: '/en/user/{id<\d+>}'
- fr: '/utilisateur/{id<\d+>}'
- controller: Rapsys\AirBundle\Controller\UserController::view
+ en_gb: '/en/user/{id<\d+>}'
+ fr_fr: '/utilisateur/{id<\d+>}'
+ controller: Rapsys\AirBundle\Controller\DefaultController::userView
+ methods: GET|POST
+
+rapsys_user_confirm:
+ path:
+ en_gb: '/en/confirm/{hash}/{mail}'
+ fr_fr: '/confirmer/{hash}/{mail}'
+ controller: Rapsys\UserBundle\Controller\DefaultController::confirm
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST
+
+rapsys_user_edit:
+ path:
+ en_gb: '/en/user/{hash}/{mail}'
+ fr_fr: '/utilisateur/{hash}/{mail}'
+ controller: Rapsys\AirBundle\Controller\UserController::edit
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST
+
+rapsys_user_login:
+ path:
+ en_gb: '/en/login/{hash}/{mail}'
+ fr_fr: '/connecter/{hash}/{mail}'
+ controller: Rapsys\UserBundle\Controller\DefaultController::login
+ defaults:
+ mail: ~
+ hash: ~
+ requirements:
+ mail: '[a-zA-Z0-9=_-]+'
+ hash: '[a-zA-Z0-9=_-]+'
+ methods: GET|POST
+
+rapsys_user_logout:
+ path:
+ en_gb: '/en/logout'
+ fr_fr: '/deconnecter'