Fix login/logout routes

This commit is contained in:
Romain Neutron
2013-03-06 10:31:21 +01:00
parent 0f07d30304
commit e798618b1b
3 changed files with 173 additions and 104 deletions

View File

@@ -186,7 +186,7 @@
</li>
<li>
{% if app['authentication'].isAuthenticated() %}
<a href="/login/logout/?app={{module}}" target="_self">
<a href="{{ path('logout', { 'redirect' : module }) }}" target="_self">
<span>
{% trans 'phraseanet:: deconnection' %}
</span>