]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Remove font-weight inheritance
[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: '/contacter'
14 controller: Rapsys\AirBundle\Controller\DefaultController::contact
15 methods: GET|POST
16
17 rapsys_air_organizer_regulation:
18 path:
19 en: '/en/organizer-regulation'
20 fr: '/reglement-organisateur'
21 controller: Rapsys\AirBundle\Controller\DefaultController::organizerRegulation
22 methods: GET
23
24 rapsys_air_terms_of_service:
25 path:
26 en: '/en/terms-of-service'
27 fr: '/conditions-generales-d-utilisation'
28 controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
29 methods: GET
30
31 rapsys_air_location_view:
32 path:
33 en: '/en/location/{id<\d+>}'
34 fr: '/emplacement/{id<\d+>}'
35 controller: Rapsys\AirBundle\Controller\LocationController::view
36 methods: GET
37
38 rapsys_air_application_add:
39 path:
40 en: '/en/application'
41 fr: '/reservation'
42 controller: Rapsys\AirBundle\Controller\ApplicationController::add
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_edit:
53 path:
54 en: '/en/session/{id<\d+>}'
55 fr: '/seance/{id<\d+>}'
56 controller: Rapsys\AirBundle\Controller\SessionController::edit
57 methods: POST
58
59 rapsys_air_session_view:
60 path:
61 en: '/en/session/{id<\d+>}'
62 fr: '/seance/{id<\d+>}'
63 controller: Rapsys\AirBundle\Controller\SessionController::view
64 methods: GET
65
66 rapsys_air_snippet_add:
67 path:
68 en: '/en/snippet'
69 fr: '/extrait'
70 controller: Rapsys\AirBundle\Controller\SnippetController::add
71 methods: POST
72
73 rapsys_air_snippet_edit:
74 path:
75 en: '/en/snippet/{id<\d+>}'
76 fr: '/extrait/{id<\d+>}'
77 controller: Rapsys\AirBundle\Controller\SnippetController::edit
78 methods: POST
79
80 rapsys_air_organizer:
81 path:
82 en: '/en/organizer'
83 fr: '/organisateur'
84 controller: Rapsys\AirBundle\Controller\OrganizerController::index
85 methods: GET
86
87 rapsys_air_organizer_view:
88 path:
89 en: '/en/organizer/{id<\d+>}'
90 fr: '/organisateur/{id<\d+>}'
91 controller: Rapsys\AirBundle\Controller\OrganizerController::view
92 methods: GET
93
94 rapsys_user_login:
95 path:
96 en: /en/login
97 fr: /connecter
98 controller: Rapsys\UserBundle\Controller\DefaultController::login
99 methods: GET|POST
100
101 rapsys_user_recover:
102 path:
103 en: /en/recover
104 fr: /recuperer
105 controller: Rapsys\UserBundle\Controller\DefaultController::recover
106 methods: GET|POST
107
108 rapsys_user_recover_mail:
109 path:
110 en: /en/recover/{recipient}/{hash}
111 fr: /recuperer/{recipient}/{hash}
112 controller: Rapsys\UserBundle\Controller\DefaultController::recoverMail
113 requirements:
114 recipient: '[a-zA-Z0-9=_-]+'
115 hash: '[a-zA-Z0-9=_-]+'
116 methods: GET|POST
117
118 rapsys_user_register:
119 path:
120 en: /en/register
121 fr: /enregistrer
122 controller: Rapsys\UserBundle\Controller\DefaultController::register
123 methods: GET|POST
124
125 rapsys_user_logout:
126 path:
127 en: /en/logout
128 fr: /deconnecter
129 methods: GET