1 #https://symfony.com/doc/current/controller.html#controller-request-argument
 
   2 #CRUD: edit, index, new, show, _delete_form, _form
 
   3 #https://symfony.com/doc/current/routing.html#localized-routes-i18n
 
   4 #SCRUD: index, add, edit, delete, view
 
   6 #TODO: rename view in show ???
 
  11     controller: Rapsys\BlogBundle\Controller\DefaultController::index
 
  18     controller: Rapsys\BlogBundle\Controller\DefaultController::about
 
  23         en_gb: '/en/contact/{id<\d*>?}/{user<[\w-]*>?}'
 
  24         fr_fr: '/contacter/{id<\d*>?}/{user<[\w-]*>?}'
 
  25     controller: Rapsys\BlogBundle\Controller\DefaultController::contact
 
  32     controller: Rapsys\BlogBundle\Controller\ArticleController::index
 
  35 rapsys_blog_article_view:
 
  37         en_gb: '/en/article/{id<\d*>?}/{slug<[\w-]*>?}'
 
  38         fr_fr: '/article/{id<\d*>?}/{slug<[\w-]*>?}'
 
  39     controller: Rapsys\BlogBundle\Controller\ArticleController::view
 
  46     controller: Rapsys\BlogBundle\Controller\KeywordController::index
 
  49 rapsys_blog_keyword_view:
 
  51         en_gb: '/en/keyword/{id<\d*>?}/{slug<[\w-]*>?}'
 
  52         fr_fr: '/mot-cle/{id<\d*>?}/{slug<[\w-]*>?}'
 
  53     controller: Rapsys\BlogBundle\Controller\KeywordController::view
 
  56 rapsys_blog_frequently_asked_questions:
 
  58         en_gb: '/en/frequently-asked-questions'
 
  59         fr_fr: '/foire-aux-questions'
 
  60     controller: Rapsys\BlogBundle\Controller\DefaultController::frequentlyAskedQuestions
 
  63 rapsys_blog_terms_of_service:
 
  65         en_gb: '/en/terms-of-service'
 
  66         fr_fr: '/conditions-generales-d-utilisation'
 
  67     controller: Rapsys\BlogBundle\Controller\DefaultController::termsOfService
 
  74     controller: Rapsys\BlogBundle\Controller\UserController::index
 
  77 rapsys_blog_user_view:
 
  79         en_gb: '/en/user/{id<\d+>}/{slug<[\w-]+>?}'
 
  80         fr_fr: '/utilisateur/{id<\d+>}/{slug<[\w-]+>?}'
 
  81     controller: Rapsys\BlogBundle\Controller\UserController::view
 
  86         en_gb: '/en/confirm/{hash}/{mail}'
 
  87         fr_fr: '/confirmer/{hash}/{mail}'
 
  88     controller: Rapsys\UserBundle\Controller\UserController::confirm
 
  90         mail: '[a-zA-Z0-9=_-]+'
 
  91         hash: '[a-zA-Z0-9=_-]+'
 
  96         en_gb: '/en/user/{hash}/{mail}'
 
  97         fr_fr: '/utilisateur/{hash}/{mail}'
 
  98     controller: Rapsys\UserBundle\Controller\UserController::edit
 
 100         mail: '[a-zA-Z0-9=_-]+'
 
 101         hash: '[a-zA-Z0-9=_-]+'
 
 106         en_gb: '/en/login/{hash}/{mail}'
 
 107         fr_fr: '/connecter/{hash}/{mail}'
 
 108     controller: Rapsys\UserBundle\Controller\UserController::login
 
 113         mail: '[a-zA-Z0-9=_-]+'
 
 114         hash: '[a-zA-Z0-9=_-]+'
 
 120         fr_fr: '/deconnecter'
 
 125         en_gb: '/en/recover/{hash}/{pass}/{mail}'
 
 126         fr_fr: '/recuperer/{hash}/{pass}/{mail}'
 
 127     controller: Rapsys\UserBundle\Controller\UserController::recover
 
 133         mail: '[a-zA-Z0-9=_-]+'
 
 134         pass: '[a-zA-Z0-9=_-]+'
 
 135         hash: '[a-zA-Z0-9=_-]+'
 
 138 rapsys_user_register:
 
 140         en_gb: '/en/register'
 
 141         fr_fr: '/enregistrer'
 
 142     controller: Rapsys\UserBundle\Controller\UserController::register