Browse Source

bug fix: appel a la variable app.user a la place de user dans twig

bastien 13 years ago
parent
commit
2047180ea1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/UserBundle/Resources/views/Account/topBar.html.twig

+ 1 - 1
src/Muzich/UserBundle/Resources/views/Account/topBar.html.twig View File

@@ -3,7 +3,7 @@
3 3
   <div id="top_bar">
4 4
 
5 5
     <a href="{{ path('my_account') }}" >
6
-      {{ 'top_bar.my_account'|trans({'%name%' : user.name}, 'navigationui') }}
6
+      {{ 'top_bar.my_account'|trans({'%name%' : app.user.name}, 'navigationui') }}
7 7
     </a>
8 8
 
9 9
     <a href="{{ path('fos_user_security_logout') }}" >