I'm starting to explore Symfony2 and I love what I've seen so far. I'm
having issues overriding error templates. I've followed the
instructions on this page (http://symfony.com/doc/2.0/cookbook/
controller/error_pages.html) which lists the location to put my error
template at (app/Resources/FrameworkBundle/views/Exception/
error.html.twig). However it is still using the default template.

I'm making sure to clear my cache using both "app/console cache:clear"
as well as "rm -rf app/cache/*".

I've also tried having the page at (app/Resources/FrameworkBundle/
Exception/error.html.twig).

When I have it at (app/views/FrameworkBundle/views/Exception/
error.html.twig) or (app/views/FrameworkBundle/Exception/
error.html.twig) I was able to get symfony to throw an error when I
introduced an error into the template so it is seeing it there but
still not using it.

Is this a bug? Or am I doing something wrong?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to