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::contact
 
  17 rapsys_air_organizer_regulation:
 
  19         en: '/en/organizer-regulation'
 
  20         fr: '/reglement-organisateur'
 
  21     controller: Rapsys\AirBundle\Controller\DefaultController::organizerRegulation
 
  24 rapsys_air_terms_of_service:
 
  26         en: '/en/terms-of-service'
 
  27         fr: '/conditions-generales-d-utilisation'
 
  28     controller: Rapsys\AirBundle\Controller\DefaultController::termsOfService
 
  31 rapsys_air_frequently_asked_questions:
 
  33         en: '/en/frequently-asked-questions'
 
  34         fr: '/foire-aux-questions'
 
  35     controller: Rapsys\AirBundle\Controller\DefaultController::frequentlyAskedQuestions
 
  42     controller: Rapsys\AirBundle\Controller\LocationController::index
 
  45 rapsys_air_location_add:
 
  49     controller: Rapsys\AirBundle\Controller\LocationController::add
 
  52 rapsys_air_location_edit:
 
  54         en: '/en/location/{id<\d+>}'
 
  55         fr: '/emplacement/{id<\d+>}'
 
  56     controller: Rapsys\AirBundle\Controller\LocationController::edit
 
  59 rapsys_air_location_view:
 
  61         en: '/en/location/{id<\d+>}'
 
  62         fr: '/emplacement/{id<\d+>}'
 
  63     controller: Rapsys\AirBundle\Controller\LocationController::view
 
  66 rapsys_air_application_add:
 
  70     controller: Rapsys\AirBundle\Controller\ApplicationController::add
 
  77     controller: Rapsys\AirBundle\Controller\SessionController::index
 
  80 rapsys_air_session_edit:
 
  82         en: '/en/session/{id<\d+>}'
 
  83         fr: '/seance/{id<\d+>}'
 
  84     controller: Rapsys\AirBundle\Controller\SessionController::edit
 
  87 rapsys_air_session_view:
 
  89         en: '/en/session/{id<\d+>}'
 
  90         fr: '/seance/{id<\d+>}'
 
  91     controller: Rapsys\AirBundle\Controller\SessionController::view
 
  94 rapsys_air_snippet_add:
 
  98     controller: Rapsys\AirBundle\Controller\SnippetController::add
 
 101 rapsys_air_snippet_edit:
 
 103         en: '/en/snippet/{id<\d+>}'
 
 104         fr: '/extrait/{id<\d+>}'
 
 105     controller: Rapsys\AirBundle\Controller\SnippetController::edit
 
 112     controller: Rapsys\AirBundle\Controller\UserController::index
 
 115 rapsys_air_user_view:
 
 117         en: '/en/user/{id<\d+>}'
 
 118         fr: '/utilisateur/{id<\d+>}'
 
 119     controller: Rapsys\AirBundle\Controller\UserController::view
 
 126     controller: Rapsys\UserBundle\Controller\DefaultController::login
 
 133     controller: Rapsys\UserBundle\Controller\DefaultController::recover
 
 136 rapsys_user_recover_mail:
 
 138         en: /en/recover/{recipient}/{hash}
 
 139         fr: /recuperer/{recipient}/{hash}
 
 140     controller: Rapsys\UserBundle\Controller\DefaultController::recoverMail
 
 142         recipient: '[a-zA-Z0-9=_-]+'
 
 143         hash: '[a-zA-Z0-9=_-]+'
 
 146 rapsys_user_register:
 
 150     controller: Rapsys\UserBundle\Controller\DefaultController::register