Switched to turbo_method to fix Logout call

This commit is contained in:
Matteo Bacci 2025-10-09 09:32:57 +02:00
parent d3aa3bd067
commit a2120df84f

View file

@ -146,7 +146,7 @@
</a>
</li>
<li><%= link_to 'Logout', destroy_user_session_path, method: :delete, data: { turbo: false } %></li>
<li><%= link_to 'Logout', destroy_user_session_path, data: { turbo_method: :delete } %></li>
</ul>
</details>
</li>