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