1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/14285] Add prefix in routing

PHPBB3-14285
This commit is contained in:
rubencm
2021-05-25 07:28:05 +02:00
parent 31ca404ff7
commit 1e624bef15
4 changed files with 15 additions and 60 deletions

View File

@@ -33,3 +33,4 @@ phpbb_ucp_routing:
phpbb_storage_routing:
resource: storage.yml
prefix: /download

View File

@@ -1,10 +1,10 @@
phpbb_storage_avatar:
path: /download/avatar/{file}
path: /avatar/{file}
defaults:
_controller: storage.controller.avatar:handle
phpbb_storage_attachment:
path: /download/attachment/{id}
path: /attachment/{id}
defaults:
_controller: storage.controller.attachment:handle
requirements: