Rename user bundle route alias
path: /confirm/{hash}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::registerMail
requirements:
path: /confirm/{hash}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::registerMail
requirements:
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
path: /user/{hash}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::edit
requirements:
path: /user/{hash}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::edit
requirements:
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
path: /
controller: Rapsys\UserBundle\Controller\UserController::index
methods: GET
path: /
controller: Rapsys\UserBundle\Controller\UserController::index
methods: GET
path: /login/{hash}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::login
defaults:
path: /login/{hash}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::login
defaults:
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
path: /logout
methods: GET
path: /logout
methods: GET
path: /recover/{hash}/{pass}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::recover
defaults:
path: /recover/{hash}/{pass}/{mail}
controller: Rapsys\UserBundle\Controller\UserController::recover
defaults:
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
mail: '[a-zA-Z0-9=_-]+'
methods: GET|POST
path: /register
controller: Rapsys\UserBundle\Controller\UserController::register
methods: GET|POST
path: /register
controller: Rapsys\UserBundle\Controller\UserController::register
methods: GET|POST