Move user listing in default controller
Move user view in default controller
Add new rapsys_air_session_view2 developpement route
Override default user controller edit action
en_gb: '/en/application'
fr_fr: '/reservation'
controller: Rapsys\AirBundle\Controller\ApplicationController::add
en_gb: '/en/application'
fr_fr: '/reservation'
controller: Rapsys\AirBundle\Controller\ApplicationController::add
rapsys_air_session:
path:
rapsys_air_session:
path:
controller: Rapsys\AirBundle\Controller\SessionController::view
methods: GET
controller: Rapsys\AirBundle\Controller\SessionController::view
methods: GET
+rapsys_air_session_view2:
+ path:
+ en_gb: '/en/session2/{id<\d+>}'
+ fr_fr: '/seance2/{id<\d+>}'
+ controller: Rapsys\AirBundle\Controller\SessionController::view2
+ methods: GET
+
rapsys_air_snippet_add:
path:
en_gb: '/en/snippet'
rapsys_air_snippet_add:
path:
en_gb: '/en/snippet'
path:
en_gb: '/en/user'
fr_fr: '/utilisateur'
path:
en_gb: '/en/user'
fr_fr: '/utilisateur'
- controller: Rapsys\AirBundle\Controller\UserController::index
+ controller: Rapsys\AirBundle\Controller\DefaultController::userIndex
methods: GET
rapsys_air_user_view:
path:
en_gb: '/en/user/{id<\d+>}'
fr_fr: '/utilisateur/{id<\d+>}'
methods: GET
rapsys_air_user_view:
path:
en_gb: '/en/user/{id<\d+>}'
fr_fr: '/utilisateur/{id<\d+>}'
- controller: Rapsys\AirBundle\Controller\UserController::view
+ controller: Rapsys\AirBundle\Controller\DefaultController::userView
methods: GET|POST
rapsys_user_confirm:
methods: GET|POST
rapsys_user_confirm:
path:
en_gb: '/en/user/{hash}/{mail}'
fr_fr: '/utilisateur/{hash}/{mail}'
path:
en_gb: '/en/user/{hash}/{mail}'
fr_fr: '/utilisateur/{hash}/{mail}'
- controller: Rapsys\UserBundle\Controller\DefaultController::edit
+ controller: Rapsys\AirBundle\Controller\UserController::edit
requirements:
mail: '[a-zA-Z0-9=_-]+'
hash: '[a-zA-Z0-9=_-]+'
requirements:
mail: '[a-zA-Z0-9=_-]+'
hash: '[a-zA-Z0-9=_-]+'