aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/pdfresources/index.html.erb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-11 20:37:30 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-11 20:37:30 +0000
commit07b62172741df6be4e439b11f28076ab5c013a8e (patch)
tree0bea8ae1d84f692de07fa41d355284236dac0a91 /app/views/pdfresources/index.html.erb
parent8ef8a8661bf4663e776497c3cbc55e3dceb63481 (diff)
Adds ghetto log out button
Diffstat (limited to 'app/views/pdfresources/index.html.erb')
-rw-r--r--app/views/pdfresources/index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/pdfresources/index.html.erb b/app/views/pdfresources/index.html.erb
index ff29982..47f1591 100644
--- a/app/views/pdfresources/index.html.erb
+++ b/app/views/pdfresources/index.html.erb
@@ -5,6 +5,8 @@
<% content_for :title, "Pdfresources" %>
+ <%= link_to "Log out", Current.session, class: "underline my-3", data: { turbo_method: :delete }%>
+
<div class="flex justify-between items-center">
<h1 class="font-bold text-4xl">Pdfresources</h1>
<%= link_to "New pdfresource", new_pdfresource_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>