X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/recipe/blobdiff_plain/7c9e214420f381013e0a0d33eb3ee99f3e67f57b..6c937accf6bbe3c7d0b92c72798f33197f9a096f:/rapsys/airbundle/master/config/routes/rapsys_air.yaml diff --git a/rapsys/airbundle/master/config/routes/rapsys_air.yaml b/rapsys/airbundle/master/config/routes/rapsys_air.yaml index dd63f57..615b709 100644 --- a/rapsys/airbundle/master/config/routes/rapsys_air.yaml +++ b/rapsys/airbundle/master/config/routes/rapsys_air.yaml @@ -1,17 +1,21 @@ rapsys_air_homepage: - path: / - defaults: { _controller: RapsysAirBundle:Default:index } - -rapsys_air_admin: - path: /admin - defaults: { _controller: RapsysAirBundle:Default:admin } + path: / + controller: Rapsys\AirBundle\Controller\DefaultController::index + methods: GET rapsys_air_contact: - path: /contact - defaults: { _controller: RapsysAirBundle:Default:contact } + path: /contact + controller: Rapsys\AirBundle\Controller\DefaultController::contact + methods: GET|POST + +rapsys_air_admin: + path: /admin + controller: Rapsys\AirBundle\Controller\DefaultController::admin + methods: GET rapsys_air_session: path: /admin/session/{id} - defaults: { _controller: RapsysAirBundle:Default:session } + controller: Rapsys\AirBundle\Controller\DefaultController::session requirements: id: '\d+' + methods: GET