diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index b958b6584..4055cda6c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -46,7 +46,7 @@ component.navigation_item(text: 'Your logs', href: case_logs_path) component.navigation_item(text: 'Your organisation', href: "/organisations/#{current_user.organisation.id}") component.navigation_item(text: 'Your account', href: user_path(current_user)) - component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: { data: {turbo_method: :delete} }) + component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: { data: {turbo_method: :delete}, method: :delete }) end end %>