]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Reorder rapsys_user routes
[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/{mail}/{extra}/{hash}'
159 fr_fr: '/confirmer/{mail}/{extra}/{hash}'
160 controller: Rapsys\UserBundle\Controller\DefaultController::confirm
161 requirements:
162 mail: '[a-zA-Z0-9=_-]+'
163 extra: '[a-zA-Z0-9=_-]+'
164 hash: '[a-zA-Z0-9=_-]+'
165 methods: GET|POST
166
167 rapsys_user_edit:
168 path:
169 en_gb: '/en/user/{mail}'
170 fr_fr: '/utilisateur/{mail}'
171 controller: Rapsys\UserBundle\Controller\DefaultController::edit
172 requirements:
173 mail: '[a-zA-Z0-9=_-]+'
174 methods: GET|POST
175
176 rapsys_user_login:
177 path:
178 en_gb: '/en/login'
179 fr_fr: '/connecter'
180 controller: Rapsys\UserBundle\Controller\DefaultController::login
181 methods: GET|POST
182
183 rapsys_user_logout:
184 path:
185 en_gb: '/en/logout'
186 fr_fr: '/deconnecter'
187 methods: GET
188
189 rapsys_user_recover:
190 path:
191 en_gb: '/en/recover/{mail}/{pass}/{hash}'
192 fr_fr: '/recuperer/{mail}/{pass}/{hash}'
193 controller: Rapsys\UserBundle\Controller\DefaultController::recover
194 defaults:
195 mail: ~
196 pass: ~
197 hash: ~
198 requirements:
199 mail: '[a-zA-Z0-9=_-]+'
200 pass: '[a-zA-Z0-9=_-]+'
201 hash: '[a-zA-Z0-9=_-]+'
202 methods: GET|POST
203
204 rapsys_user_register:
205 path:
206 en_gb: '/en/register/{field}/{hash}'
207 fr_fr: '/enregistrer/{field}/{hash}'
208 controller: Rapsys\UserBundle\Controller\DefaultController::register
209 defaults:
210 field: ~
211 hash: ~
212 requirements:
213 field: '[a-zA-Z0-9=_-]+'
214 hash: '[a-zA-Z0-9=_-]+'
215 methods: GET|POST