rapsystree_album:
path:
- en_gb: '/en/album/{id}/{slug}{path}'
- fr_fr: '/album/{id}/{slug}{path}'
+ en_gb: '/en/album/{id}/{slug}/{path}'
+ fr_fr: '/album/{id}/{slug}/{path}'
controller: Rapsys\TreeBundle\Controller\TreeController::album
defaults:
id: ~
- path: ~
+ path: ''
slug: ~
requirements:
id: '\d+'
- path: '/.*'
+ path: '.*?'
slug: '[\w-]+'
methods: GET|POST
rapsystree_element:
path:
- en_gb: '/en/element/{id}{path}'
- fr_fr: '/element/{id}{path}'
+ en_gb: '/en/element/{id}/{path}'
+ fr_fr: '/element/{id}/{path}'
controller: Rapsys\TreeBundle\Controller\TreeController::element
defaults:
id: ~
- path: ~
+ path: ''
requirements:
id: '\d+'
- path: '/.*'
- methods: GET|POST
+ path: '.*?'
+ methods: GET
rapsysuser_index:
path: