Update logout link to work with Turbo
This commit is contained in:
parent
8814cce171
commit
42a34bced4
|
@ -47,6 +47,6 @@
|
||||||
%i.fa.fa-fw.fa-flask
|
%i.fa.fa-fw.fa-flask
|
||||||
= t(".feedback.features")
|
= t(".feedback.features")
|
||||||
.dropdown-divider
|
.dropdown-divider
|
||||||
= button_to destroy_user_session_path, method: "delete", class: "dropdown-item" do
|
= link_to destroy_user_session_path, data: { turbo_method: :delete }, class: "dropdown-item" do
|
||||||
%i.fa.fa-fw.fa-sign-out
|
%i.fa.fa-fw.fa-sign-out
|
||||||
= t("voc.logout")
|
= t("voc.logout")
|
||||||
|
|
Loading…
Reference in New Issue