8000 bug #20129 [TwigBridge] Fixed unknown controller method (ro0NL) · symfony/symfony@669478d · GitHub
[go: up one dir, main page]

Skip to content

Commit 669478d

Browse files
committed
bug #20129 [TwigBridge] Fixed unknown controller method (ro0NL)
This PR was merged into the 3.2-dev branch. Discussion ---------- [TwigBridge] Fixed unknown controller method | Q | A | ------------- | --- | Branch? | "master" | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20125 (comment) | License | MIT | Doc PR | reference to the documentation PR, if any @fabpot can you have a look :) Im not sure this concerns BC.. but perhaps it makes sense moving this method as well. Commits ------- e45e80e fixed
2 parents f54cfd6 + e45e80e commit 669478d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Extension/HttpKernelExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getFunctions()
2525
return array(
2626
new \Twig_SimpleFunction('render', array(HttpKernelRuntime::class, 'renderFragment'), array('is_safe' => array('html'))),
2727
new \Twig_SimpleFunction('render_*', array(HttpKernelRuntime::class, 'renderFragmentStrategy'), array('is_safe' => array('html'))),
28-
new \Twig_SimpleFunction('controller', HttpKernelRuntime::class.'::controller'),
28+
new \Twig_SimpleFunction('controller', static::class.'::controller'),
2929
);
3030
}
3131

0 commit comments

Comments
 (0)
0