]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
6c71b8455a40b6d2f840bc3b12a27c880de0c604
[airbundle] / Resources / config / routes / rapsys_air.yaml
1 #https://symfony.com/doc/current/routing.html#localized-routes-i18n
2 #SCRUD: index, add, edit, delete, view
3 rapsys_air:
4 path:
5 en: '/en'
6 fr: '/'
7 controller: Rapsys\AirBundle\Controller\DefaultController::index
8 methods: GET
9
10 rapsys_air_contact:
11 path:
12 en: '/en/contact'
13 fr: '/contact'
14 controller: Rapsys\AirBundle\Controller\DefaultController::contact
15 methods: GET|POST
16
17 rapsys_air_regulation:
18 path:
19 en: '/en/regulation'
20 fr: '/reglement'
21 controller: Rapsys\AirBundle\Controller\DefaultController::regulation
22 methods: GET
23
24 rapsys_air_location_view:
25 path:
26 en: '/en/location/{id<\d+>}'
27 fr: '/emplacement/{id<\d+>}'
28 controller: Rapsys\AirBundle\Controller\LocationController::view
29 methods: GET
30
31 rapsys_air_application_add:
32 path:
33 en: '/en/application'
34 fr: '/reservation'
35 controller: Rapsys\AirBundle\Controller\ApplicationController::add
36 methods: POST
37
38 rapsys_air_application_edit:
39 path:
40 en: '/en/application/{id<\d+>}'
41 fr: '/reservation/{id<\d+>}'
42 controller: Rapsys\AirBundle\Controller\ApplicationController::edit
43 methods: POST
44
45 rapsys_air_session:
46 path:
47 en: '/en/session'
48 fr: '/seance'
49 controller: Rapsys\AirBundle\Controller\SessionController::index
50 methods: GET
51
52 rapsys_air_session_view:
53 path:
54 en: '/en/session/{id<\d+>}'
55 fr: '/seance/{id<\d+>}'
56 controller: Rapsys\AirBundle\Controller\SessionController::view
57 methods: GET
58
59 rapsys_air_user:
60 path:
61 en: '/en/user'
62 fr: '/utilisateur'
63 controller: Rapsys\AirBundle\Controller\UserController::index
64 methods: GET
65
66 rapsys_air_user_view:
67 path:
68 en: '/en/user/{id<\d+>}'
69 fr: '/utilisateur/{id<\d+>}'
70 controller: Rapsys\AirBundle\Controller\UserController::view
71 methods: GET