customize 403 error page depening on route in symfony 2.0

前端 未结 2 569
不思量自难忘°
不思量自难忘° 2020-12-21 01:47

i want to customize the error pages in Symfony 2.0

I know that this is done via overwriting the layouts in app/Resources/TwigBundle/views/Exception/* bu

2条回答
  •  庸人自扰
    2020-12-21 01:52

    i use arguments: ["@twig", "%kernel.debug%"] instead of arguments: [@twig, %kernel.debug%]

提交回复
热议问题