summaryrefslogtreecommitdiff
path: root/app/views/layouts/_navigation.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-17 10:12:11 -0700
committerjessib <jessib@riseup.net>2012-10-17 10:12:11 -0700
commitc072a2fe1d50715bad1cd8c14213cba6aa1cc8ff (patch)
tree14a599dadbe440952c0de73c487113bc09aa9142 /app/views/layouts/_navigation.html.haml
parent171d07a64d3f76e68c22f0fb4cc3795daad806d1 (diff)
parentd9a510fa2126c29f0af58c6bbeff35802777eee6 (diff)
Merge branch 'develop' into help_develop
Diffstat (limited to 'app/views/layouts/_navigation.html.haml')
-rw-r--r--app/views/layouts/_navigation.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml
new file mode 100644
index 0000000..04d2356
--- /dev/null
+++ b/app/views/layouts/_navigation.html.haml
@@ -0,0 +1,10 @@
+= link_to "Leap Web", root_path, :class => 'brand'
+%ul.nav
+ - 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