Skip to content

Commit a433cec

Browse files
gmponosfabpot
authored andcommitted
Show exception is checked twice in ExceptionController of twig
1 parent f7de083 commit a433cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function findTemplate(Request $request, $format, $code, $showException
125125
// default to a generic HTML exception
126126
$request->setRequestFormat('html');
127127

128-
return new TemplateReference('TwigBundle', 'Exception', $showException ? 'exception_full' : $name, 'html', 'twig');
128+
return new TemplateReference('TwigBundle', 'Exception', $name, 'html', 'twig');
129129
}
130130

131131
// to be removed when the minimum required version of Twig is >= 3.0

0 commit comments

Comments
 (0)