]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Fix logo placement
[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_gb: '/en'
6 fr_fr: '/'
7 controller: Rapsys\AirBundle\Controller\DefaultController::index
8 methods: GET
9
10 rapsys_air_about:
11 path:
12 en_gb: '/en/about'
13 fr_fr: '/a-propos'
14 controller: Rapsys\AirBundle\Controller\DefaultController::about
15 methods: GET
16
17 rapsys_air_contact:
18 path:
19 en_gb: '/en/contact'
20 fr_fr: '/contacter'
21 controller: Rapsys\AirBundle\Controller\DefaultController::contact
22 methods: GET|POST
23
24 rapsys_air_calendar:
25 path:
26 en_gb: '/en/calendar'
27 fr_fr: '/calendrier'
28 controller: Rapsys\AirBundle\Controller\CalendarController::index
29 methods: GET|POST
30
31 rapsys_air_calendar_callback:
32 path: '/calendar/callback'
33 controller: Rapsys\AirBundle\Controller\CalendarController::callback
34 methods: GET
35
36 rapsys_air_frequently_asked_questions:
37 path:
38 en_gb: '/en/frequently-asked-questions'
39 fr_fr: '/foire-aux-questions'
40 controller: Rapsys\AirBundle\Controller\DefaultController::frequentlyAskedQuestions
41 methods: GET
42
43 rapsys_air_organizer_regulation:
44 path:
45 en_gb: '/en/organizer-regulation'
46 fr_fr: '/reglement-organisateur'
47 controller: Rapsys\AirBundle\Controller\DefaultController::organizerRegulation
48 methods: GET
49
50 rapsys_air_terms_of_service:
51 path:
52 en_gb: '/en/terms-of-service'
53 fr_fr: '/conditions-generales-d-utilisation'
54 controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
55 methods: GET
56
57 rapsys_air_dispute:
58 path:
59 en_gb: '/en/dispute'
60 fr_fr: '/contestation'
61 controller: Rapsys\AirBundle\Controller\DefaultController::dispute
62 methods: GET|POST
63
64 rapsys_air_location:
65 path:
66 en_gb: '/en/location'
67 fr_fr: '/emplacement'
68 controller: Rapsys\AirBundle\Controller\LocationController::index
69 methods: GET
70
71 rapsys_air_location_add:
72 path:
73 en_gb: '/en/location'
74 fr_fr: '/emplacement'
75 controller: Rapsys\AirBundle\Controller\LocationController::add
76 methods: POST
77
78 rapsys_air_location_edit:
79 path:
80 en_gb: '/en/location/{id<\d+>}'
81 fr_fr: '/emplacement/{id<\d+>}'
82 controller: Rapsys\AirBundle\Controller\LocationController::edit
83 methods: POST
84
85 rapsys_air_location_view:
86 path:
87 en_gb: '/en/location/{id<\d+>}'
88 fr_fr: '/emplacement/{id<\d+>}'
89 controller: Rapsys\AirBundle\Controller\LocationController::view
90 methods: GET
91
92 rapsys_air_application_add:
93 path:
94 en_gb: '/en/application'
95 fr_fr: '/reservation'
96 controller: Rapsys\AirBundle\Controller\ApplicationController::add
97 methods: POST
98
99 rapsys_air_session:
100 path:
101 en_gb: '/en/session'
102 fr_fr: '/seance'
103 controller: Rapsys\AirBundle\Controller\SessionController::index
104 methods: GET
105
106 rapsys_air_session_edit:
107 path:
108 en_gb: '/en/session/{id<\d+>}'
109 fr_fr: '/seance/{id<\d+>}'
110 controller: Rapsys\AirBundle\Controller\SessionController::edit
111 methods: POST
112
113 rapsys_air_session_tangoargentin:
114 path:
115 en_gb: '/en/session/tangoargentin'
116 fr_fr: '/seance/tangoargentin'
117 format: json
118 controller: Rapsys\AirBundle\Controller\SessionController::tangoargentin
119 methods: GET
120
121 rapsys_air_session_view:
122 path:
123 en_gb: '/en/session/{id<\d+>}'
124 fr_fr: '/seance/{id<\d+>}'
125 controller: Rapsys\AirBundle\Controller\SessionController::view
126 methods: GET
127
128 rapsys_air_snippet_add:
129 path:
130 en_gb: '/en/snippet'
131 fr_fr: '/extrait'
132 controller: Rapsys\AirBundle\Controller\SnippetController::add
133 methods: POST
134
135 rapsys_air_snippet_edit:
136 path:
137 en_gb: '/en/snippet/{id<\d+>}'
138 fr_fr: '/extrait/{id<\d+>}'
139 controller: Rapsys\AirBundle\Controller\SnippetController::edit
140 methods: POST
141
142 rapsys_air_user:
143 path:
144 en_gb: '/en/user'
145 fr_fr: '/utilisateur'
146 controller: Rapsys\AirBundle\Controller\UserController::index
147 methods: GET
148
149 rapsys_air_user_view:
150 path:
151 en_gb: '/en/user/{id<\d+>}'
152 fr_fr: '/utilisateur/{id<\d+>}'
153 controller: Rapsys\AirBundle\Controller\UserController::view
154 methods: GET|POST
155
156 rapsys_user_confirm:
157 path:
158 en_gb: '/en/confirm/{hash}/{mail}'
159 fr_fr: '/confirmer/{hash}/{mail}'
160 controller: Rapsys\UserBundle\Controller\DefaultController::confirm
161 requirements:
162 mail: '[a-zA-Z0-9=_-]+'
163 hash: '[a-zA-Z0-9=_-]+'
164 methods: GET|POST
165
166 rapsys_user_edit:
167 path:
168 en_gb: '/en/user/{hash}/{mail}'
169 fr_fr: '/utilisateur/{hash}/{mail}'
170 controller: Rapsys\UserBundle\Controller\DefaultController::edit
171 requirements:
172 mail: '[a-zA-Z0-9=_-]+'
173 hash: '[a-zA-Z0-9=_-]+'
174 methods: GET|POST
175
176 rapsys_user_login:
177 path:
178 en_gb: '/en/login/{hash}/{mail}'
179 fr_fr: '/connecter/{hash}/{mail}'
180 controller: Rapsys\UserBundle\Controller\DefaultController::login
181 defaults:
182 mail: ~
183 hash: ~
184 requirements:
185 mail: '[a-zA-Z0-9=_-]+'
186 hash: '[a-zA-Z0-9=_-]+'
187 methods: GET|POST
188
189 rapsys_user_logout:
190 path:
191 en_gb: '/en/logout'
192 fr_fr: '/deconnecter'
193 methods: GET
194
195 rapsys_user_recover:
196 path:
197 en_gb: '/en/recover/{hash}/{pass}/{mail}'
198 fr_fr: '/recuperer/{hash}/{pass}/{mail}'
199 controller: Rapsys\UserBundle\Controller\DefaultController::recover
200 defaults:
201 mail: ~
202 pass: ~
203 hash: ~
204 requirements:
205 mail: '[a-zA-Z0-9=_-]+'
206 pass: '[a-zA-Z0-9=_-]+'
207 hash: '[a-zA-Z0-9=_-]+'
208 methods: GET|POST
209
210 rapsys_user_register:
211 path:
212 en_gb: '/en/register/{hash}/{field}/{mail}'
213 fr_fr: '/enregistrer/{hash}/{field}/{mail}'
214 controller: Rapsys\UserBundle\Controller\DefaultController::register
215 defaults:
216 mail: ~
217 field: ~
218 hash: ~
219 requirements:
220 mail: '[a-zA-Z0-9=_-]+'
221 field: '[a-zA-Z0-9=_-]+'
222 hash: '[a-zA-Z0-9=_-]+'
223 methods: GET|POST