]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/routes/rapsys_air.yaml
Add calendar related routes and config
[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_calendar:
18 path:
19 en: '/en/calendar'
20 fr: '/calendrier'
21 controller: Rapsys\AirBundle\Controller\CalendarController::index
22 methods: GET|POST
23
24 rapsys_air_calendar_callback:
25 path: '/calendar/callback'
26 controller: Rapsys\AirBundle\Controller\CalendarController::callback
27 methods: GET
28
29 rapsys_air_frequently_asked_questions:
30 path:
31 en: '/en/frequently-asked-questions'
32 fr: '/foire-aux-questions'
33 controller: Rapsys\AirBundle\Controller\DefaultController::frequentlyAskedQuestions
34 methods: GET
35
36 rapsys_air_organizer_regulation:
37 path:
38 en: '/en/organizer-regulation'
39 fr: '/reglement-organisateur'
40 controller: Rapsys\AirBundle\Controller\DefaultController::organizerRegulation
41 methods: GET
42
43 rapsys_air_terms_of_service:
44 path:
45 en: '/en/terms-of-service'
46 fr: '/conditions-generales-d-utilisation'
47 controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
48 methods: GET
49
50 rapsys_air_dispute:
51 path:
52 en: '/en/dispute'
53 fr: '/contestation'
54 controller: Rapsys\AirBundle\Controller\DefaultController::dispute
55 methods: GET|POST
56
57 rapsys_air_location:
58 path:
59 en: '/en/location'
60 fr: '/emplacement'
61 controller: Rapsys\AirBundle\Controller\LocationController::index
62 methods: GET
63
64 rapsys_air_location_add:
65 path:
66 en: '/en/location'
67 fr: '/emplacement'
68 controller: Rapsys\AirBundle\Controller\LocationController::add
69 methods: POST
70
71 rapsys_air_location_edit:
72 path:
73 en: '/en/location/{id<\d+>}'
74 fr: '/emplacement/{id<\d+>}'
75 controller: Rapsys\AirBundle\Controller\LocationController::edit
76 methods: POST
77
78 rapsys_air_location_view:
79 path:
80 en: '/en/location/{id<\d+>}'
81 fr: '/emplacement/{id<\d+>}'
82 controller: Rapsys\AirBundle\Controller\LocationController::view
83 methods: GET
84
85 rapsys_air_application_add:
86 path:
87 en: '/en/application'
88 fr: '/reservation'
89 controller: Rapsys\AirBundle\Controller\ApplicationController::add
90 methods: POST
91
92 rapsys_air_session:
93 path:
94 en: '/en/session'
95 fr: '/seance'
96 controller: Rapsys\AirBundle\Controller\SessionController::index
97 methods: GET
98
99 rapsys_air_session_edit:
100 path:
101 en: '/en/session/{id<\d+>}'
102 fr: '/seance/{id<\d+>}'
103 controller: Rapsys\AirBundle\Controller\SessionController::edit
104 methods: POST
105
106 rapsys_air_session_view:
107 path:
108 en: '/en/session/{id<\d+>}'
109 fr: '/seance/{id<\d+>}'
110 controller: Rapsys\AirBundle\Controller\SessionController::view
111 methods: GET
112
113 rapsys_air_snippet_add:
114 path:
115 en: '/en/snippet'
116 fr: '/extrait'
117 controller: Rapsys\AirBundle\Controller\SnippetController::add
118 methods: POST
119
120 rapsys_air_snippet_edit:
121 path:
122 en: '/en/snippet/{id<\d+>}'
123 fr: '/extrait/{id<\d+>}'
124 controller: Rapsys\AirBundle\Controller\SnippetController::edit
125 methods: POST
126
127 rapsys_air_user:
128 path:
129 en: '/en/user'
130 fr: '/utilisateur'
131 controller: Rapsys\AirBundle\Controller\UserController::index
132 methods: GET
133
134 rapsys_air_user_view:
135 path:
136 en: '/en/user/{id<\d+>}'
137 fr: '/utilisateur/{id<\d+>}'
138 controller: Rapsys\AirBundle\Controller\UserController::view
139 methods: GET|POST
140
141 rapsys_user_login:
142 path:
143 en: /en/login
144 fr: /connecter
145 controller: Rapsys\UserBundle\Controller\DefaultController::login
146 methods: GET|POST
147
148 rapsys_user_recover:
149 path:
150 en: /en/recover
151 fr: /recuperer
152 controller: Rapsys\UserBundle\Controller\DefaultController::recover
153 methods: GET|POST
154
155 rapsys_user_recover_mail:
156 path:
157 en: /en/recover/{recipient}/{hash}
158 fr: /recuperer/{recipient}/{hash}
159 controller: Rapsys\UserBundle\Controller\DefaultController::recoverMail
160 requirements:
161 recipient: '[a-zA-Z0-9=_-]+'
162 hash: '[a-zA-Z0-9=_-]+'
163 methods: GET|POST
164
165 rapsys_user_register:
166 path:
167 en: /en/register
168 fr: /enregistrer
169 controller: Rapsys\UserBundle\Controller\DefaultController::register
170 methods: GET|POST
171
172 rapsys_user_logout:
173 path:
174 en: /en/logout
175 fr: /deconnecter
176 methods: GET