diff --git a/lib/atomic_web/components/dropdown.ex b/lib/atomic_web/components/dropdown.ex index 38ffa92a8..eb81121d3 100644 --- a/lib/atomic_web/components/dropdown.ex +++ b/lib/atomic_web/components/dropdown.ex @@ -30,12 +30,12 @@ defmodule AtomicWeb.Components.Dropdown do diff --git a/lib/atomic_web/templates/layout/_live_navbar.html.heex b/lib/atomic_web/templates/layout/_live_navbar.html.heex index 24a4c6147..a6d49336b 100644 --- a/lib/atomic_web/templates/layout/_live_navbar.html.heex +++ b/lib/atomic_web/templates/layout/_live_navbar.html.heex @@ -130,7 +130,7 @@ orientation={:top} items={[ %{name: "Your profile", link: Routes.profile_show_path(@socket, :show, @current_user)}, - %{name: "Sign out", link: Routes.user_session_path(@socket, :delete)} + %{name: "Sign out", link: Routes.user_session_path(@socket, :delete), method: "delete"} ]} id="user-menu-button" >