summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_nav.html.haml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-23 11:00:32 +0100
committerAzul <azul@leap.se>2012-11-23 11:00:32 +0100
commit716dc248e940be8bd323a9d92f98785737fc99a0 (patch)
treedebf0bcb697bfdf29d1710096752e3c6d94d4f79 /users/app/views/sessions/_nav.html.haml
parentddd53a0841cb2af091e1ed3a6e69e9fc52977c08 (diff)
parent46c0140a8eab632c783d309a7afd87cb7aad4280 (diff)
Merge branch 'feature/users-change-passwords' into develop
Diffstat (limited to 'users/app/views/sessions/_nav.html.haml')
-rw-r--r--users/app/views/sessions/_nav.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/sessions/_nav.html.haml b/users/app/views/sessions/_nav.html.haml
index b738504..dab865e 100644
--- a/users/app/views/sessions/_nav.html.haml
+++ b/users/app/views/sessions/_nav.html.haml
@@ -1,6 +1,6 @@
- if logged_in?
%li
- = 'logged in as ' + current_user.login
+ = link_to current_user.login, edit_user_path(current_user)
%li
= link_to t(:logout), logout_path
- if admin?