Symfony: custom error page


August 12, 2013 at 05:32
Symfony

For me, it seems that nothing I read at the symfony documentation ever works. I needed to create custom error pages, so I created the folder app/Resources/TwigBundle/views/Exception and within this folder I created error.html.twig . Of course this didn't work. Why? I was in the dev environment which seems to need a different file: exception_full.html.twig and thaaat worked. Stupid Symfony.

Tags: 404 error page symfony


Hinterlasse einen Kommentar:
Search