- en-gb: '/en/user/{id<\d+>}'
- fr-fr: '/utilisateur/{id<\d+>}'
- controller: Rapsys\AirBundle\Controller\UserController::view
+ en_gb: '/en/user/{id<\d+>}/{user<[\w-]+>?}'
+ fr_fr: '/utilisateur/{id<\d+>}/{user<[\w-]+>?}'
+ 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=_-]+'