1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

[ticket/14285] Move downloads to controller

PHPBB3-14285
This commit is contained in:
Rubén Calvo
2018-06-29 18:00:11 +02:00
committed by rubencm
parent e159bef055
commit dd06933324
8 changed files with 479 additions and 367 deletions

View File

@@ -30,3 +30,6 @@ phpbb_report_routing:
phpbb_ucp_routing:
resource: ucp.yml
prefix: /user
phpbb_storage_routing:
resource: storage.yml

View File

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