[FrameworkBundle] fixed template names

This commit is contained in:
Bulat Shakirzyanov 2011-01-21 19:51:51 -05:00 committed by Fabien Potencier
parent c13b0db4c8
commit 5ff0dedebb
6 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
/*
{% include 'FrameworkBundle:Exception:exception.twig.txt' with { 'exception': exception } %}
{% include 'FrameworkBundle:Exception:exception.txt.twig' with { 'exception': exception } %}
*/

View File

@ -1,3 +1,3 @@
/*
{% include 'FrameworkBundle:Exception:exception.twig.txt' with { 'exception': exception } %}
{% include 'FrameworkBundle:Exception:exception.txt.twig' with { 'exception': exception } %}
*/

View File

@ -1 +1 @@
{% include 'FrameworkBundle:Exception:exception.twig.xml' with { 'exception': exception } %}
{% include 'FrameworkBundle:Exception:exception.xml.twig' with { 'exception': exception } %}

View File

@ -2,6 +2,6 @@
[message] {{ exception.message }}
{% for i, e in exception.toarray %}
[{{ i + 1 }}] {{ e.class }}: {{ e.message }}
{% include 'FrameworkBundle:Exception:traces.twig.txt' with { 'exception': e } only %}
{% include 'FrameworkBundle:Exception:traces.txt.twig' with { 'exception': e } only %}
{% endfor %}

View File

@ -1,6 +1,6 @@
{% if exception.trace|length %}
{% for trace in exception.trace %}
{% include 'FrameworkBundle:Exception:trace.twig.txt' with { 'trace': trace } only %}
{% include 'FrameworkBundle:Exception:trace.txt.twig' with { 'trace': trace } only %}
{% endfor %}
{% endif %}

View File

@ -1,7 +1,7 @@
<traces>
{% for trace in exception.trace %}
<trace>
{% include 'FrameworkBundle:Exception:trace.twig.txt' with { 'trace': trace } only %}
{% include 'FrameworkBundle:Exception:trace.txt.twig' with { 'trace': trace } only %}
</trace>
{% endfor %}