+ en_gb: '/en/user/{id<\d+>}/{user<[\w-]+>?}'
+ fr_fr: '/utilisateur/{id<\d+>}/{user<[\w-]+>?}'
+ #TODO: changer pour DefaultController::organizer ou DefaultController::user et dropper cette classe useless
+ controller: Rapsys\AirBundle\Controller\OrganizerController::view
+ methods: GET|POST
+
+rapsys_air_user_milongaraphael:
+ path:
+ en_gb: '/en/milonga-raphael'
+ fr_fr: '/milonga-raphael'
+ #TODO: changer pour DefaultController::organizer ou DefaultController::user et dropper cette classe useless
+ controller: Rapsys\AirBundle\Controller\OrganizerController::view
+ defaults:
+ # default parameters
+ id: 1
+ user: 'milonga-raphael'
+
+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'