aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-10-03 22:39:18 +0200
committerTristan Darricau <github@nicofuma.fr>2014-11-20 16:09:44 +0100
commitf81d8c53fc8b4bc0fd0eae834d4edb317e897766 (patch)
tree53c8ab0105372406c1c7d6fce2687da09326b0fa /phpBB/config
parenta5bfc76a73a213a388126d0f697ba64f27a4b00d (diff)
downloadforums-f81d8c53fc8b4bc0fd0eae834d4edb317e897766.tar
forums-f81d8c53fc8b4bc0fd0eae834d4edb317e897766.tar.gz
forums-f81d8c53fc8b4bc0fd0eae834d4edb317e897766.tar.bz2
forums-f81d8c53fc8b4bc0fd0eae834d4edb317e897766.tar.xz
forums-f81d8c53fc8b4bc0fd0eae834d4edb317e897766.zip
[ticket/13063] Adds Twig routing extension
PHPBB3-13063
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/twig.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/config/twig.yml b/phpBB/config/twig.yml
index eb3e6c0924..0745d8b47e 100644
--- a/phpBB/config/twig.yml
+++ b/phpBB/config/twig.yml
@@ -34,3 +34,10 @@ services:
- @user
tags:
- { name: twig.extension }
+
+ template.twig.extensions.routing:
+ class: Symfony\Bridge\Twig\Extension\RoutingExtension
+ arguments:
+ - @router
+ tags:
+ - { name: twig.extension }