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:
@@ -33,3 +33,4 @@ phpbb_ucp_routing:
|
||||
|
||||
phpbb_storage_routing:
|
||||
resource: storage.yml
|
||||
prefix: /download
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user