summaryrefslogtreecommitdiff
path: root/users/app/views/sessions
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-19 12:09:59 +0200
committerAzul <azul@leap.se>2012-10-19 12:09:59 +0200
commit93974e99296641822c734a3c192cc6c550efc696 (patch)
treeb3fd48ceff284ab0aa5ed81c351e0ec1936a3cc8 /users/app/views/sessions
parentd9a510fa2126c29f0af58c6bbeff35802777eee6 (diff)
moved login navigation to the right
Diffstat (limited to 'users/app/views/sessions')
-rw-r--r--users/app/views/sessions/_nav.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/app/views/sessions/_nav.html.haml b/users/app/views/sessions/_nav.html.haml
new file mode 100644
index 0000000..a5397bd
--- /dev/null
+++ b/users/app/views/sessions/_nav.html.haml
@@ -0,0 +1,8 @@
+- if current_user
+ %li
+ = link_to t(:logout), logout_path
+- else
+ %li
+ = link_to t(:login), login_path
+ %li
+ = link_to t(:signup), signup_path