+rapsys_air_user_milongaraphael:
+ path:
+ en_gb: '/en/milonga-raphael'
+ fr_fr: '/milonga-raphael'
+ controller: Rapsys\AirBundle\Controller\DefaultController::userView
+ defaults:
+ # default parameters
+ id: 1
+ user: 'milonga-raphael'
+
+rapsys_air_user_view:
+ path:
+ 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\UserController::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\UserController::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'