]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Update fr translations
[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: '/'
6 fr: '/fr'
7 controller: Rapsys\AirBundle\Controller\DefaultController::index
8 methods: GET
9
10 rapsys_air_contact:
11 path:
12 en: '/contact'
13 fr: '/fr/contact'
14 controller: Rapsys\AirBundle\Controller\DefaultController::contact
15 methods: GET|POST
16
17 rapsys_air_regulation:
18 path:
19 en: '/regulation'
20 fr: '/fr/reglement'
21 controller: Rapsys\AirBundle\Controller\DefaultController::regulation
22 methods: GET
23
24 rapsys_air_location:
25 path:
26 en: '/location'
27 fr: '/fr/emplacement'
28 controller: Rapsys\AirBundle\Controller\LocationController::index
29 methods: GET
30
31 rapsys_air_location_view:
32 path:
33 en: '/location/{id<\d+>}'
34 fr: '/fr/emplacement/{id<\d+>}'
35 controller: Rapsys\AirBundle\Controller\LocationController::view
36 methods: GET
37
38 rapsys_air_application_add:
39 path:
40 en: '/application'
41 fr: '/fr/reservation'
42 controller: Rapsys\AirBundle\Controller\ApplicationController::add
43 methods: POST
44
45 rapsys_air_application_edit:
46 path:
47 en: '/application/{id<\d+>}'
48 fr: '/fr/reservation/{id<\d+>}'
49 controller: Rapsys\AirBundle\Controller\ApplicationController::edit
50 methods: POST
51
52 rapsys_air_user:
53 path:
54 en: '/user'
55 fr: '/fr/utilisateur'
56 controller: Rapsys\AirBundle\Controller\UserController::index
57 methods: GET
58
59 rapsys_air_user_view:
60 path:
61 en: '/user/{id<\d+>}'
62 fr: '/fr/utilisateur/{id<\d+>}'
63 controller: Rapsys\AirBundle\Controller\UserController::view
64 methods: GET