summaryrefslogtreecommitdiff
path: root/users/app/views/sessions
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-22 17:31:18 +0100
committerAzul <azul@leap.se>2012-11-22 17:31:18 +0100
commit33c124aa67788d5c64906f7b3e21ad383577b2a8 (patch)
treeda36967527c8edf6034e90c05acd956fa402ecbd /users/app/views/sessions
parentddd53a0841cb2af091e1ed3a6e69e9fc52977c08 (diff)
basic user edit form and actions
Diffstat (limited to 'users/app/views/sessions')
-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?