1 #https://symfony.com/doc/current/routing.html#localized-routes-i18n
 
   2 #SCRUD: index, add, edit, delete, view
 
   7     controller: Rapsys\AirBundle\Controller\DefaultController::index
 
  14     controller: Rapsys\AirBundle\Controller\DefaultController::about
 
  21     controller: Rapsys\AirBundle\Controller\DefaultController::contact
 
  28     controller: Rapsys\AirBundle\Controller\CalendarController::index
 
  31 rapsys_air_calendar_callback:
 
  32     path: '/calendar/callback'
 
  33     controller: Rapsys\AirBundle\Controller\CalendarController::callback
 
  36 rapsys_air_frequently_asked_questions:
 
  38         en_gb: '/en/frequently-asked-questions'
 
  39         fr_fr: '/foire-aux-questions'
 
  40     controller: Rapsys\AirBundle\Controller\DefaultController::frequentlyAskedQuestions
 
  43 rapsys_air_organizer_regulation:
 
  45         en_gb: '/en/organizer-regulation'
 
  46         fr_fr: '/reglement-organisateur'
 
  47     controller: Rapsys\AirBundle\Controller\DefaultController::organizerRegulation
 
  50 rapsys_air_terms_of_service:
 
  52         en_gb: '/en/terms-of-service'
 
  53         fr_fr: '/conditions-generales-d-utilisation'
 
  54     controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
 
  60         fr_fr: '/contestation'
 
  61     controller: Rapsys\AirBundle\Controller\DefaultController::dispute
 
  68     controller: Rapsys\AirBundle\Controller\LocationController::index
 
  71 rapsys_air_location_add:
 
  75     controller: Rapsys\AirBundle\Controller\LocationController::add
 
  78 rapsys_air_location_edit:
 
  80         en_gb: '/en/location/{id<\d+>}'
 
  81         fr_fr: '/emplacement/{id<\d+>}'
 
  82     controller: Rapsys\AirBundle\Controller\LocationController::edit
 
  85 rapsys_air_location_view:
 
  87         en_gb: '/en/location/{id<\d+>}'
 
  88         fr_fr: '/emplacement/{id<\d+>}'
 
  89     controller: Rapsys\AirBundle\Controller\LocationController::view
 
  92 rapsys_air_application_add:
 
  94         en_gb: '/en/application'
 
  96     controller: Rapsys\AirBundle\Controller\ApplicationController::add
 
 103     controller: Rapsys\AirBundle\Controller\SessionController::index
 
 106 rapsys_air_session_edit:
 
 108         en_gb: '/en/session/{id<\d+>}'
 
 109         fr_fr: '/seance/{id<\d+>}'
 
 110     controller: Rapsys\AirBundle\Controller\SessionController::edit
 
 113 rapsys_air_session_tangoargentin:
 
 115         en_gb: '/en/session/tangoargentin'
 
 116         fr_fr: '/seance/tangoargentin'
 
 118     controller: Rapsys\AirBundle\Controller\SessionController::tangoargentin
 
 121 rapsys_air_session_view:
 
 123         en_gb: '/en/session/{id<\d+>}'
 
 124         fr_fr: '/seance/{id<\d+>}'
 
 125     controller: Rapsys\AirBundle\Controller\SessionController::view
 
 128 rapsys_air_snippet_add:
 
 132     controller: Rapsys\AirBundle\Controller\SnippetController::add
 
 135 rapsys_air_snippet_edit:
 
 137         en_gb: '/en/snippet/{id<\d+>}'
 
 138         fr_fr: '/extrait/{id<\d+>}'
 
 139     controller: Rapsys\AirBundle\Controller\SnippetController::edit
 
 145         fr_fr: '/utilisateur'
 
 146     controller: Rapsys\AirBundle\Controller\UserController::index
 
 149 rapsys_air_user_view:
 
 151         en_gb: '/en/user/{id<\d+>}'
 
 152         fr_fr: '/utilisateur/{id<\d+>}'
 
 153     controller: Rapsys\AirBundle\Controller\UserController::view
 
 158         en_gb: '/en/confirm/{hash}/{mail}'
 
 159         fr_fr: '/confirmer/{hash}/{mail}'
 
 160     controller: Rapsys\UserBundle\Controller\DefaultController::confirm
 
 162         mail: '[a-zA-Z0-9=_-]+'
 
 163         hash: '[a-zA-Z0-9=_-]+'
 
 168         en_gb: '/en/user/{hash}/{mail}'
 
 169         fr_fr: '/utilisateur/{hash}/{mail}'
 
 170     controller: Rapsys\UserBundle\Controller\DefaultController::edit
 
 172         mail: '[a-zA-Z0-9=_-]+'
 
 173         hash: '[a-zA-Z0-9=_-]+'
 
 178         en_gb: '/en/login/{hash}/{mail}'
 
 179         fr_fr: '/connecter/{hash}/{mail}'
 
 180     controller: Rapsys\UserBundle\Controller\DefaultController::login
 
 185         mail: '[a-zA-Z0-9=_-]+'
 
 186         hash: '[a-zA-Z0-9=_-]+'
 
 192         fr_fr: '/deconnecter'
 
 197         en_gb: '/en/recover/{hash}/{pass}/{mail}'
 
 198         fr_fr: '/recuperer/{hash}/{pass}/{mail}'
 
 199     controller: Rapsys\UserBundle\Controller\DefaultController::recover
 
 205         mail: '[a-zA-Z0-9=_-]+'
 
 206         pass: '[a-zA-Z0-9=_-]+'
 
 207         hash: '[a-zA-Z0-9=_-]+'
 
 210 rapsys_user_register:
 
 212         en_gb: '/en/register/{hash}/{field}/{mail}'
 
 213         fr_fr: '/enregistrer/{hash}/{field}/{mail}'
 
 214     controller: Rapsys\UserBundle\Controller\DefaultController::register
 
 220         mail: '[a-zA-Z0-9=_-]+'
 
 221         field: '[a-zA-Z0-9=_-]+'
 
 222         hash: '[a-zA-Z0-9=_-]+'