Fix sign out link
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

The correct HTML attribute to send a DELETE request would be
`data-turbo-method`, but then it still fails with JS turned off, which
is unnecessary.

fixes #61
This commit is contained in:
2022-02-19 12:12:32 -06:00
parent 773ea24c5d
commit 7cb0111449
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<% if user_signed_in? %>
<p class="current-user mt-8">
Signed in as <strong class="text-white font-normal"><%= current_user.cn %>@kosmos.org</strong>.
<%= link_to "Log out", destroy_user_session_path, method: :delete, class: 'underline' %>
<%= link_to "Log out", destroy_user_session_path, class: 'underline' %>
</p>
<% end %>