]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Allow phone field to be optional
[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_login:
157 path:
158 en-gb: /en/login
159 fr-fr: /connecter
160 controller: Rapsys\UserBundle\Controller\DefaultController::login
161 methods: GET|POST
162
163 rapsys_user_recover:
164 path:
165 en-gb: /en/recover
166 fr-fr: /recuperer
167 controller: Rapsys\UserBundle\Controller\DefaultController::recover
168 methods: GET|POST
169
170 rapsys_user_recover_mail:
171 path:
172 en-gb: /en/recover/{recipient}/{hash}
173 fr-fr: /recuperer/{recipient}/{hash}
174 controller: Rapsys\UserBundle\Controller\DefaultController::recoverMail
175 requirements:
176 recipient: '[a-zA-Z0-9=_-]+'
177 hash: '[a-zA-Z0-9=_-]+'
178 methods: GET|POST
179
180 rapsys_user_register:
181 path:
182 en-gb: /en/register
183 fr-fr: /enregistrer
184 controller: Rapsys\UserBundle\Controller\DefaultController::register
185 methods: GET|POST
186
187 rapsys_user_logout:
188 path:
189 en-gb: /en/logout
190 fr-fr: /deconnecter
191 methods: GET