diff options
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_navbar.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb index 7a50848..0bc947a 100644 --- a/app/views/layouts/_navbar.html.erb +++ b/app/views/layouts/_navbar.html.erb @@ -20,6 +20,9 @@ <li> <a href="#" class="block py-2 px-3 rounde">Contact</a> </li> + <li> + <%= link_to "Log out", Current.session, class: "block py-2 px-3", data: { turbo_method: :delete }%> + </li> </ul> </div> </div> |