]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Remove location short
[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: GET|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_session_view2:
129 path:
130 en_gb: '/en/session2/{id<\d+>}'
131 fr_fr: '/seance2/{id<\d+>}'
132 controller: Rapsys\AirBundle\Controller\SessionController::view2
133 methods: GET
134
135 rapsys_air_snippet_add:
136 path:
137 en_gb: '/en/snippet'
138 fr_fr: '/extrait'
139 controller: Rapsys\AirBundle\Controller\SnippetController::add
140 methods: POST
141
142 rapsys_air_snippet_edit:
143 path:
144 en_gb: '/en/snippet/{id<\d+>}'
145 fr_fr: '/extrait/{id<\d+>}'
146 controller: Rapsys\AirBundle\Controller\SnippetController::edit
147 methods: POST
148
149 rapsys_air_user:
150 path:
151 en_gb: '/en/user'
152 fr_fr: '/utilisateur'
153 controller: Rapsys\AirBundle\Controller\DefaultController::userIndex
154 methods: GET
155
156 rapsys_air_user_view:
157 path:
158 en_gb: '/en/user/{id<\d+>}'
159 fr_fr: '/utilisateur/{id<\d+>}'
160 controller: Rapsys\AirBundle\Controller\DefaultController::userView
161 methods: GET|POST
162
163 rapsys_user_confirm:
164 path:
165 en_gb: '/en/confirm/{hash}/{mail}'
166 fr_fr: '/confirmer/{hash}/{mail}'
167 controller: Rapsys\UserBundle\Controller\DefaultController::confirm
168 requirements:
169 mail: '[a-zA-Z0-9=_-]+'
170 hash: '[a-zA-Z0-9=_-]+'
171 methods: GET|POST
172
173 rapsys_user_edit:
174 path:
175 en_gb: '/en/user/{hash}/{mail}'
176 fr_fr: '/utilisateur/{hash}/{mail}'
177 controller: Rapsys\AirBundle\Controller\UserController::edit
178 requirements:
179 mail: '[a-zA-Z0-9=_-]+'
180 hash: '[a-zA-Z0-9=_-]+'
181 methods: GET|POST
182
183 rapsys_user_login:
184 path:
185 en_gb: '/en/login/{hash}/{mail}'
186 fr_fr: '/connecter/{hash}/{mail}'
187 controller: Rapsys\UserBundle\Controller\DefaultController::login
188 defaults:
189 mail: ~
190 hash: ~
191 requirements:
192 mail: '[a-zA-Z0-9=_-]+'
193 hash: '[a-zA-Z0-9=_-]+'
194 methods: GET|POST
195
196 rapsys_user_logout:
197 path:
198 en_gb: '/en/logout'
199 fr_fr: '/deconnecter'
200 methods: GET
201
202 rapsys_user_recover:
203 path:
204 en_gb: '/en/recover/{hash}/{pass}/{mail}'
205 fr_fr: '/recuperer/{hash}/{pass}/{mail}'
206 controller: Rapsys\UserBundle\Controller\DefaultController::recover
207 defaults:
208 mail: ~
209 pass: ~
210 hash: ~
211 requirements:
212 mail: '[a-zA-Z0-9=_-]+'
213 pass: '[a-zA-Z0-9=_-]+'
214 hash: '[a-zA-Z0-9=_-]+'
215 methods: GET|POST
216
217 rapsys_user_register:
218 path:
219 en_gb: '/en/register/{hash}/{field}/{mail}'
220 fr_fr: '/enregistrer/{hash}/{field}/{mail}'
221 controller: Rapsys\UserBundle\Controller\DefaultController::register
222 defaults:
223 mail: ~
224 field: ~
225 hash: ~
226 requirements:
227 mail: '[a-zA-Z0-9=_-]+'
228 field: '[a-zA-Z0-9=_-]+'
229 hash: '[a-zA-Z0-9=_-]+'
230 methods: GET|POST