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